public class SummaryFooterCallback extends StepExecutionListenerSupport implements FlatFileFooterCallback
| Constructor and Description |
|---|
SummaryFooterCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeStep(StepExecution stepExecution)
Initialize the state of the listener with the
StepExecution from
the current scope. |
void |
writeFooter(java.io.Writer writer)
Write contents to a file using the supplied
Writer. |
afterSteppublic void writeFooter(java.io.Writer writer)
throws java.io.IOException
FlatFileFooterCallbackWriter. It is not
required to flush the writer inside this method.writeFooter in interface FlatFileFooterCallbackjava.io.IOExceptionpublic void beforeStep(StepExecution stepExecution)
StepExecutionListenerStepExecution from
the current scope.beforeStep in interface StepExecutionListenerbeforeStep in class StepExecutionListenerSupport