example
Class ExampleItemReader
java.lang.Object
org.springframework.batch.item.support.AbstractItemReader
example.ExampleItemReader
- All Implemented Interfaces:
- ItemReader
public class ExampleItemReader
- extends AbstractItemReader
ItemReader
with hard-coded input data.
Method Summary |
Object |
read()
Reads next record from input |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExampleItemReader
public ExampleItemReader()
read
public Object read()
throws Exception
- Reads next record from input
- Throws:
Exception
- if an underlying resource is unavailable.
Copyright © 2009 SpringSource. All Rights Reserved.