/** * Finds the next valid line of words in the stream and extracts them. * * @return List of valid words on the line. null if the end of the file has been reached. * @throws java.io.IOException */ protected List<String> extractWords() throws IOException { while( true ) { lineNumber++; String line = in.readLine(); if( line == null ) { return null; } // skip comment lines if( hasComment ) { if( line.charAt(0) == comment ) continue; } // extract the words, which are the variables encoded return parseWords(line); } }
/** * Finds the next valid line of words in the stream and extracts them. * * @return List of valid words on the line. null if the end of the file has been reached. * @throws java.io.IOException */ protected List<String> extractWords() throws IOException { while( true ) { lineNumber++; String line = in.readLine(); if( line == null ) { return null; } // skip comment lines if( hasComment ) { if( line.charAt(0) == comment ) continue; } // extract the words, which are the variables encoded return parseWords(line); } }
/** * Finds the next valid line of words in the stream and extracts them. * * @return List of valid words on the line. null if the end of the file has been reached. * @throws java.io.IOException */ protected List<String> extractWords() throws IOException { while( true ) { lineNumber++; String line = in.readLine(); if( line == null ) { return null; } // skip comment lines if( hasComment ) { if( line.charAt(0) == comment ) continue; } // extract the words, which are the variables encoded return parseWords(line); } }