类 DummyItemWriter
- java.lang.Object
- org.springframework.batch.sample.support.DummyItemWriter
- 所有已实现的接口:
ItemWriter<java.lang.Object>
public class DummyItemWriter extends java.lang.Object implements ItemWriter<java.lang.Object>
- 作者:
- Dave Syer
构造器概要
构造器 构造器 说明 DummyItemWriter()
构造器详细资料
DummyItemWriter
public DummyItemWriter()
方法详细资料
write
public void write(java.util.List<? extends java.lang.Object> item) throws java.lang.Exception
从接口复制的说明:ItemWriter
Process the supplied data element. Will not be called with any null items in normal operation.- 指定者:
write
在接口中ItemWriter<java.lang.Object>
- 参数:
item
- items to be written- 抛出:
java.lang.Exception
- if there are errors. The framework will catch the exception and convert or rethrow it as appropriate.