Interface Callback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This interface defines a call(OutputItem) function
which can be applied on an OutputItem via OutputItem.setCallback(Callback)
when using PDFreactor.convert(Configuration, OutputStreamProvider).
-
Method Summary
Modifier and TypeMethodDescriptionvoidcall(OutputItem outputItem) A callback function which is triggered after a partial result has been finished.
-
Method Details
-
call
A callback function which is triggered after a partial result has been finished.
It can be applied on an
OutputItemviaOutputItem.setCallback(Callback)when using
PDFreactor.convert(Configuration, OutputStreamProvider).- Parameters:
outputItem- TheOutputItemwhich is created by PDFreactor for each partial result.- Throws:
Exception- If the provided function throws an exception.
-