question: public static ArrayList < ArrayList < String > > fileTokenizer ( String fin ) { File file = new File ( fin ) ; BufferedReader br ; FileReader fr ; ArrayList < String > lines = new ArrayList < String > ( ) ; try { fr = new FileReader ( file ) ; br = new BufferedReader ( fr ) ; String line ; try { while ( ( line = br . readLine ( ) ) != null ) { if ( line . length ( ) > 0 ) { lines . add ( line ) ; } } } catch ( IOException ex ) { } } catch ( FileNotFoundException ex ) { } ArrayList < ArrayList < String > > tokenized_list = new ArrayList < ArrayList < String > > ( ) ; for ( String s : lines ) { ArrayList < String > tokens = new ArrayList < String > ( ) ; StringTokenizer st = new StringTokenizer ( s , " \t\n\r\f," ) ; while ( st . hasMoreTokens ( ) ) { tokens . add ( st . nextToken ( ) ) ; } tokenized_list . add ( tokens ) ; } return tokenized_list ; }
target:  Synopsis    [  ] outer ArrayList = lines inner ArrayList = tokens