public interface RecordReader
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this input stream.
|
int |
getRecordLineNumber()
Returns the line number of the last record from this input stream.
|
String |
getRecordText()
Returns the unparsed record text of the last record read.
|
Object |
read()
Reads a single record from this input stream.
|
Object read() throws IOException, RecordIOException
IOException
- if an I/O error occurs reading from the streamRecordIOException
- if the record is malformed and cannot
be parsed, but subsequent reads may still be possiblevoid close() throws IOException
IOException
- if an I/O error occurs closing the streamint getRecordLineNumber()
String getRecordText()