example
Class ExampleItemReader
java.lang.Object
example.ExampleItemReader
- All Implemented Interfaces:
- ItemReader<String>
public class ExampleItemReader
- extends Object
- implements ItemReader<String>
ItemReader with hard-coded input data.
|
Method Summary |
String |
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 String read()
throws Exception
- Reads next record from input
- Specified by:
read in interface ItemReader<String>
- Throws:
Exception - if an underlying resource is unavailable.
Copyright © 2009 SpringSource. All Rights Reserved.