public interface ItemProcessor<I,O>
Modifier and Type | Method and Description |
---|---|
O |
process(I item)
Process the provided item, returning a potentially modified or new item for continued
processing.
|
@Nullable O process(I item) throws java.lang.Exception
item
- to be processednull
if processing of the
provided item should not continue.java.lang.Exception
- thrown if exception occurs during processing.