com.ibm.websphere.batch.devframework.datastreams.patternadapter

Interface ByteReaderPattern


  1. public interface ByteReaderPattern

Method Summary

Modifier and Type Method and Description
  1. 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
  1. java.lang.Object
fetchRecord(java.io.BufferedInputStream reader)
Get the next record from the input stream
  1. void
initialize(java.util.Properties props)
Is called by the framework during Step setup stage
  1. void
processHeader(java.io.BufferedInputStream reader)

Method Detail

initialize

  1. void initialize(java.util.Properties props)
Is called by the framework during Step setup stage
Parameters:
props -

processHeader

  1. void processHeader(java.io.BufferedInputStream reader)
  2. throws java.io.IOException
Parameters:
reader -
Throws:
java.io.IOException

fetchRecord

  1. java.lang.Object fetchRecord(java.io.BufferedInputStream reader)
  2. throws java.io.IOException
Get the next record from the input stream
Parameters:
reader -
Returns:
Throws:
java.io.IOException

fetchHeader

  1. 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: