public String [ ] readNext ( ) throws IOException { String [ ] result = null ; do { String nextLine = getNextLine ( ) ; if ( ! hasNext ) { return validateResult ( result ) ; } String [ ] r = parser . parseLineMulti ( nextLine ) ; if ( r . length > 0 ) { if ( result == null ) { result = r ; } else { result = combineResultsFromMultipleReads ( result , r ) ; } } } while ( parser . isPending ( ) ) ; return validateResult ( result ) ; }
Reads the next line from the buffer and converts to a string array .