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 FlatFileFooterCallbackwriter - the Writer to be used to write the footer.java.io.IOException - if error occurs during writing.public void beforeStep(StepExecution stepExecution)
StepExecutionListenerStepExecution from
the current scope.beforeStep in interface StepExecutionListenerbeforeStep in class StepExecutionListenerSupportstepExecution - instance of StepExecution.