import java.io.*; import java.util.StringTokenizer; import java.util.Vector; public class lause{ static String failinimi(String kysimus) throws IOException{ System.out.println(kysimus); BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); return br.readLine(); } static String loeFail(String fail) throws IOException{ StringBuffer sb=new StringBuffer(); RandomAccessFile rf= new RandomAccessFile(fail, "r"); String rida=rf.readLine(); while (rida!=null){ sb.append(rida+" "); rida=rf.readLine(); } int pikkus=sb.length(); sb.delete(pikkus-1,pikkus); return new String (sb); } static String[] sonadeks2(String s){ StringTokenizer st=new StringTokenizer(s, " ."); int nr=st.countTokens(); String tulemus[]=new String[nr]; for(int i=0; i=0)System.out.println(rida); rida=rf.readLine(); } /* if (sonad[i].indexOf(fsisu)>=1) System.out.println(rida); else System.out.println("Siin failis seda so~na pole voi ei leidu rohkem kui uks kord"); */ } }