Package com.snowtide.pdf
Interface OutputSource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
pipe(OutputHandler handler)
void
pipe(OutputHandler handler, Direction bd)
Extracts all available text from thisOutputSource
, sending all PDF text events to the givenOutputHandler
, with the specifiedDirection
.
-
-
-
Method Detail
-
pipe
void pipe(OutputHandler handler) throws IOException
- Throws:
IOException
-
pipe
void pipe(OutputHandler handler, Direction bd) throws IOException
Extracts all available text from this
OutputSource
, sending all PDF text events to the givenOutputHandler
, with the specifiedDirection
.If no special PDF text event handling is needed (i.e. you just want a straight text extract), then using an
OutputTarget
is recommended.- Parameters:
handler
- an OutputHandler instance.bd
- theDirection
that should be used to disambiguate the order in which extracted text is emitted- Throws:
InsufficientLicenseException
- if alicense has been loaded
, but that license does not includePDF.Feature.Text
.IOException
- if an error occurs during the extraction process- See Also:
OutputHandler
,OutputTarget
-
-