Interface OutputStreamProvider
- 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 provide function which can be applied on an OutputItem
via OutputItem.setCallback(Callback)
when using PDFreactor.convert(Configuration, OutputStreamProvider)
.
-
Method Summary
Modifier and TypeMethodDescriptionprovide
(OutputItem outputItem) A function which provides anOutputStream
into which a partial result is written.
-
Method Details
-
provide
A function which provides an
OutputStream
into which a partial result is written.- Parameters:
outputItem
- TheOutputItem
which is created by PDFreactor for each partial result.- Returns:
- The
OutputStream
into which a partial result is written. - Throws:
Exception
-