org.springframework.batch.item.file
Interface FlatFileHeaderCallback


public interface FlatFileHeaderCallback

Callback interface for writing to a header to a file.

Author:
Robert Kasanicky

Method Summary
 void writeHeader(Writer writer)
          Write contents to a file using the supplied Writer.
 

Method Detail

writeHeader

void writeHeader(Writer writer)
                 throws IOException
Write contents to a file using the supplied Writer. It is not required to flush the writer inside this method.

Throws:
IOException


Copyright © 2013 SpringSource. All Rights Reserved.