public class ListItemWriter<T> extends java.lang.Object implements ItemWriter<T>
| Constructor and Description |
|---|
ListItemWriter() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<? extends T> |
getWrittenItems() |
void |
write(java.util.List<? extends T> items)
Process the supplied data element.
|
public void write(java.util.List<? extends T> items) throws java.lang.Exception
ItemWriterwrite in interface ItemWriter<T>items - items to be writtenjava.lang.Exception - if there are errors. The framework will catch the
exception and convert or rethrow it as appropriate.public java.util.List<? extends T> getWrittenItems()