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

Interface ByteWriterPattern



  • public interface ByteWriterPattern
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void initialize(java.util.Properties props)
      Invoked during the step setup phase
      void writeHeader(java.io.BufferedOutputStream out)
      Write header information if any
      void writeHeader(java.io.BufferedOutputStream out, java.lang.Object header)
      This method can be optionally called during process step to explicity initialize and write the header.
      void writeRecord(java.io.BufferedOutputStream out, java.lang.Object record)
      Writes the given object onto the given outputstream.
    • Method Detail

      • initialize

        void initialize(java.util.Properties props)
        Invoked during the step setup phase
        Parameters:
        props -
      • writeRecord

        void writeRecord(java.io.BufferedOutputStream out,
                       java.lang.Object record)
                         throws java.io.IOException
        Writes the given object onto the given outputstream. Any processing that needs to be done before writing can be added here
        Parameters:
        out -
        record -
        Throws:
        java.io.IOException
      • writeHeader

        void writeHeader(java.io.BufferedOutputStream out)
                         throws java.io.IOException
        Write header information if any
        Parameters:
        out -
        Throws:
        java.io.IOException
      • writeHeader

        void writeHeader(java.io.BufferedOutputStream out,
                       java.lang.Object header)
                         throws java.io.IOException
        This method can be optionally called during process step to explicity initialize and write the header.
        Parameters:
        header -
        Throws:
        java.io.IOException
IBM WebSphere Application ServerTM
Release 8.5