org.springframework.batch.item.file

## Interface FlatFileHeaderCallback

- All Known Implementing Classes:
    HeaderCopyCallback

      public interface FlatFileHeaderCallback

  Callback interface for writing to a header to a file.
  Author:
    Robert Kasanicky

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `writeHeader(java.io.Writer writer)` Write contents to a file using the supplied `Writer`.

- - ### 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.
      Throws:
        `java.io.IOException`