| 
 | BeanIO 2.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RecordReader
A RecordReader is used to divide an input stream into records. The Java class used to represent a record is implementation specific and dependent on the format of the input stream.
| Method Summary | |
|---|---|
|  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. | 
| Method Detail | 
|---|
Object read()
            throws IOException,
                   RecordIOException
IOException - if an I/O error occurs reading from the stream
RecordIOException - if the record is malformed and cannot
          be parsed, but subsequent reads may still be possible
void close()
           throws IOException
IOException - if an I/O error occurs closing the streamint getRecordLineNumber()
String getRecordText()
| 
 | BeanIO 2.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||