import java.io.BufferedReader; import java.io.EOFException; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.File; import java.io.PrintStream; import java.util.Vector; public class Oikura { Vector inputFile; Vector outputFile; int start; int end; int pos; String left; int window = 20; // must be 20 public static void main(String[] args) throws FileNotFoundException,IOException{ Oikura howMuch = new Oikura(); boolean succeed = howMuch.setParameters(args); if( !succeed ){ howMuch.Usage(); System.exit(0); } // 1st path ... counting occurrences for(int i=0;i(); outputFile = new Vector(); start = end = pos = 0; // default; left = new String(); } public void put(String seq, PrintStream p0){ if ( seq==null ) throw new NullPointerException(); // no data if ( (seq.length()==0) || (seq.charAt(0)=='>') ) { return; // title } for(int i=0;i(window-1)){ // left left = seq.substring(seq.length()-window+1);//amari }else{ left = seq; } } public String reverse(String forward){ StringBuffer result = new StringBuffer(); for(int i=0;i fileList = new Vector(); for(int i=0;i