|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.batch.api.chunk.AbstractItemReader
public abstract class AbstractItemReader
The AbstractItemReader provides default implementations of less commonly implemented methods.
| Constructor Summary | |
|---|---|
AbstractItemReader()
|
|
| Method Summary | |
|---|---|
Serializable |
checkpointInfo()
Override this method if the ItemReader supports checkpoints. |
void |
close()
Override this method if the ItemReader requires any close time processing. |
void |
open(Serializable checkpoint)
Override this method if the ItemReader requires any open time processing. |
abstract Object |
readItem()
Implement read logic for the ItemReader in this method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractItemReader()
| Method Detail |
|---|
public void open(Serializable checkpoint)
throws Exception
open in interface ItemReaderlast - checkpoint for this ItemReader - may be null.
Exception - (or subclass) if an error occurs.
public void close()
throws Exception
close in interface ItemReaderException - (or subclass) if an error occurs.
public abstract Object readItem()
throws Exception
readItem in interface ItemReaderException - (or subclass) if an error occurs.
public Serializable checkpointInfo()
throws Exception
checkpointInfo in interface ItemReaderException - (or subclass) if an error occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
© Copyright IBM Corp. 2013
Licensed under the Apache License, Version 2.0