Class PersonWriter
- java.lang.Object
- org.springframework.batch.sample.domain.person.internal.PersonWriter
- All Implemented Interfaces:
ItemWriter<Person>
public class PersonWriter extends java.lang.Object implements ItemWriter<Person>
Constructor Summary
Constructors Constructor Description PersonWriter()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(java.util.List<? extends Person> data)Process the supplied data element.
Method Detail
write
public void write(java.util.List<? extends Person> data)
Description copied from interface:ItemWriterProcess the supplied data element. Will not be called with any null items in normal operation.- Specified by:
writein interfaceItemWriter<Person>- Parameters:
data- items to be written