com.ibm.websphere.batch.devframework.datastreams.patternadapter
Interface ByteReaderPattern
- public interface ByteReaderPattern
Method Summary
Modifier and Type | Method and Description |
---|---|
|
fetchHeader()
This method can be optionally invoked from the process step
to obtain the header data that was previously obtained during the processHeader
call
|
|
fetchRecord(java.io.BufferedInputStream reader)
Get the next record from the input stream
|
|
initialize(java.util.Properties props)
Is called by the framework during Step setup stage
|
|
processHeader(java.io.BufferedInputStream reader)
|
Method Detail
initialize
- void initialize(java.util.Properties props)
Is called by the framework during Step setup stage
Parameters:
props
- processHeader
- void processHeader(java.io.BufferedInputStream reader)
- throws java.io.IOException
Parameters:
reader
- Throws:
java.io.IOException
fetchRecord
- java.lang.Object fetchRecord(java.io.BufferedInputStream reader)
- throws java.io.IOException
Get the next record from the input stream
Parameters:
reader
- Returns:
Throws:
java.io.IOException
fetchHeader
- 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
Returns: