List of usage examples for org.springframework.batch.item ItemWriter write
void write(List<? extends T> items) throws Exception;
From source file:org.trpr.platform.batch.impl.spring.writer.CompositeItemWriter.java
/** * Helper method to sort(if required) and write the results to the output *///from www . java2s.c om protected void writeToOutput(List<? extends T> data) throws Exception { // write the data using the delegates. Sorting etc can be done by the delegates if required as entire collection of data is passed for (ItemWriter<? super T> writer : this.delegates) { writer.write(data); } }