程序包 org.springframework.batch.sample.support
类概要 类 说明 DummyItemWriter ExceptionThrowingItemReaderProxy<T> HackedItemReader
that throws exception on a given record number (useful for testing restart).HeaderCopyCallback Designed to be registered with bothFlatFileItemReader
andFlatFileItemWriter
and copy header line from input file to output file.RetrySampleItemWriter<T> Simulates temporary output trouble - requires to retry 3 times to pass successfully.SummaryFooterCallback Writes summary info in the footer of a file.