org.springframework.batch.sample.support
Class DummyItemWriter
java.lang.Object
org.springframework.batch.sample.support.DummyItemWriter
- All Implemented Interfaces:
- ItemWriter<Object>
public class DummyItemWriter
- extends Object
- implements ItemWriter<Object>
- Author:
- Dave Syer
Method Summary |
void |
write(List<? extends Object> item)
Process the supplied data element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyItemWriter
public DummyItemWriter()
write
public void write(List<? extends Object> item)
throws Exception
- Description copied from interface:
ItemWriter
- Process the supplied data element. Will not be called with any null items
in normal operation.
- Specified by:
write
in interface ItemWriter<Object>
- Throws:
Exception
- if there are errors. The framework will catch the
exception and convert or rethrow it as appropriate.
Copyright © 2009 SpringSource. All Rights Reserved.