Interface FlatFileHeaderCallback

  • All Known Implementing Classes:
    HeaderCopyCallback

    public interface FlatFileHeaderCallback
    Callback interface for writing a header to a file.
    Author:
    Robert Kasanicky, Mahmoud Ben Hassine
    • Method Detail

      • writeHeader

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