public static ArrayList<String> lineTokenizer(String line){
  ArrayList<String> tokens=new ArrayList<String>();
  StringTokenizer st=new StringTokenizer(line," \t\n\r\f,");
  while (st.hasMoreTokens()) {
    tokens.add(st.nextToken());
  }
  return tokens;
}

public static ArrayList < String > lineTokenizer ( String line ) { ArrayList < String > tokens = new ArrayList < String > ( ) ; StringTokenizer st = new StringTokenizer ( line , " \t\n\r\f," ) ; while ( st . hasMoreTokens ( ) ) { tokens . add ( st . nextToken ( ) ) ; } return tokens ; }
synopsis [ ] line to tokens
