org.lexgrid.loader.reader.decorator
Class SingleItemToListReaderDecorator<I>

java.lang.Object
  extended by org.lexgrid.loader.reader.decorator.SingleItemToListReaderDecorator<I>
All Implemented Interfaces:
org.springframework.batch.item.ItemReader<java.util.List<I>>

public class SingleItemToListReaderDecorator<I>
extends java.lang.Object
implements org.springframework.batch.item.ItemReader<java.util.List<I>>


Constructor Summary
SingleItemToListReaderDecorator(org.springframework.batch.item.ItemReader<I> decoratedItemReader)
           
 
Method Summary
 java.util.List<I> read()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleItemToListReaderDecorator

public SingleItemToListReaderDecorator(org.springframework.batch.item.ItemReader<I> decoratedItemReader)
Method Detail

read

public java.util.List<I> read()
                       throws java.lang.Exception,
                              org.springframework.batch.item.UnexpectedInputException,
                              org.springframework.batch.item.ParseException
Specified by:
read in interface org.springframework.batch.item.ItemReader<java.util.List<I>>
Throws:
java.lang.Exception
org.springframework.batch.item.UnexpectedInputException
org.springframework.batch.item.ParseException

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.