Package org.springframework.batch.item.file

# Interface FlatFileFooterCallback

public interface FlatFileFooterCallback
Callback interface for writing a footer to a file.

Author:
  Robert Kasanicky

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `writeFooter(Writer writer)`
  Write contents to a file using the supplied `Writer`.

- ## Method Details

  - ### writeFooter

    void writeFooter(Writer writer) throws 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 footer.
    Throws:
      `IOException` - if error occurs during writing.