org.springframework.batch.admin.sample
Class ExampleItemReader
java.lang.Object
org.springframework.batch.admin.sample.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
Copyright © 2011. All Rights Reserved.