Class HeaderCopyCallback

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidhandleLine​(java.lang.String line) 
      voidwriteHeader​(java.io.Writer writer)
      Write contents to a file using the supplied Writer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HeaderCopyCallback

        public HeaderCopyCallback()
    • Method Detail

      • writeHeader

        public void writeHeader​(java.io.Writer writer)
                         throws java.io.IOException
        Description copied from interface: FlatFileHeaderCallback
        Write contents to a file using the supplied Writer. It is not required to flush the writer inside this method.
        Specified by:
        writeHeader in interface FlatFileHeaderCallback
        Parameters:
        writer - the Writer to be used to write the header.
        Throws:
        java.io.IOException - if error occurs during writing.