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

Interface ByteReaderPattern



  • public interface ByteReaderPattern
    • Method Summary

      Methods 
      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) 
    • 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:
IBM WebSphere Application ServerTM
Release 8.5