接口 FlatFileHeaderCallback
- 所有已知实现类:
HeaderCopyCallback
public interface FlatFileHeaderCallback
Callback interface for writing a header to a file.- 作者:
- Robert Kasanicky, Mahmoud Ben Hassine
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 void
writeHeader(java.io.Writer writer)
Write contents to a file using the suppliedWriter
.
方法详细资料
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.- 参数:
writer
- theWriter
to be used to write the header.- 抛出:
java.io.IOException
- if error occurs during writing.