Example usage for Java org.springframework.batch.item.support SingleItemPeekableItemReader fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() If the delegate is an ItemStream , just pass the call on, otherwise reset the peek cache. |
void | open(ExecutionContext executionContext) If the delegate is an ItemStream , just pass the call on, otherwise reset the peek cache. |
T | peek() Peek at the next item, ensuring that if the delegate is an ItemStream the state is stored for the next call to #update(ExecutionContext) . |
T | read() Get the next item from the delegate (whether or not it has already been peeked at). |
void | setDelegate(ItemReader The item reader to use as a delegate. |