public class ItemProcessorAdapter<I,O> extends java.lang.Object implements ItemProcessor<I,O>
Constructor and Description |
---|
ItemProcessorAdapter(javax.batch.api.chunk.ItemProcessor processor) |
Modifier and Type | Method and Description |
---|---|
O |
process(I item)
Process the provided item, returning a potentially modified or new item for continued
processing.
|
public ItemProcessorAdapter(javax.batch.api.chunk.ItemProcessor processor)
public O process(I item) throws java.lang.Exception
ItemProcessor
process
in interface ItemProcessor<I,O>
item
- to be processedjava.lang.Exception
- thrown if exception occurs during processing.