org.springframework.batch.admin.sample
Class ExampleItemReader

java.lang.Object
  extended by 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.


Constructor Summary
ExampleItemReader()
           
 
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
 

Constructor Detail

ExampleItemReader

public ExampleItemReader()
Method Detail

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.