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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
writeHeader(java.io.Writer writer)
Write contents to a file using the suppliedWriter
.
Method Detail
writeHeader
void writeHeader(java.io.Writer writer) throws java.io.IOException
Write contents to a file using the suppliedWriter
. It is not required to flush the writer inside this method.- Parameters:
writer
- theWriter
to be used to write the header.- Throws:
java.io.IOException
- if error occurs during writing.