public interface RecordParser<T extends RecordParserFactory>
Modifier and Type | Method and Description |
---|---|
void |
initialize()
Initialize the parser instance.
|
Record |
nextRecord()
Parse the next record from the message stream and produce a
Record instance. |
void |
setDataSource(InputSource source)
Set the Flat File data source on the parser.
|
void |
setRecordParserFactory(T factory)
Set the parser factory that created the parser instance.
|
void |
uninitialize()
Uninitialize the parser instance.
|
void setRecordParserFactory(T factory)
factory
- The parser factory that created the parser instance.void setDataSource(InputSource source)
source
- The flat file data source.void initialize() throws IOException
IOException
- Error initializing the reader.Record nextRecord() throws IOException
Record
instance.IOException
- Error reading message stream.void uninitialize()
Copyright © 2020. All rights reserved.