public interface ByteReaderPattern
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
fetchHeader()
This method can be optionally invoked from the process step
to obtain the header data that was previously obtained during the processHeader
call
|
java.lang.Object |
fetchRecord(java.io.BufferedInputStream reader)
Get the next record from the input stream
|
void |
initialize(java.util.Properties props)
Is called by the framework during Step setup stage
|
void |
processHeader(java.io.BufferedInputStream reader) |
void initialize(java.util.Properties props)
props
- void processHeader(java.io.BufferedInputStream reader) throws java.io.IOException
reader
- java.io.IOException
java.lang.Object fetchRecord(java.io.BufferedInputStream reader) throws java.io.IOException
reader
- java.io.IOException
java.lang.Object fetchHeader()