public class HeaderCopyCallback extends Object implements LineCallbackHandler, FlatFileHeaderCallback
FlatFileItemReader and
 FlatFileItemWriter and copy header line from input file to output
 file.| Constructor and Description | 
|---|
| HeaderCopyCallback() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | handleLine(String line) | 
| void | writeHeader(Writer writer)Write contents to a file using the supplied  Writer. | 
public void handleLine(String line)
handleLine in interface LineCallbackHandlerpublic void writeHeader(Writer writer) throws IOException
FlatFileHeaderCallbackWriter. It is not
 required to flush the writer inside this method.writeHeader in interface FlatFileHeaderCallbackIOExceptionCopyright © 2014 Pivotal. All rights reserved.