[
https://issues.apache.org/jira/browse/PDFBOX-3178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Hewson closed PDFBOX-3178.
-------------------------------
Resolution: Duplicate
Duplicate of PDFBOX-3056. You want to use PDFStreamEngine.
> Make PDFTextStreamEngine class public
> -------------------------------------
>
> Key: PDFBOX-3178
> URL: https://issues.apache.org/jira/browse/PDFBOX-3178
> Project: PDFBox
> Issue Type: Improvement
> Reporter: Leo
> Priority: Trivial
> Fix For: 2.0.0
>
>
> In 1.8 branch text extraction was performed by monolithic PDFTextStripper
> class. In 2.0 it was refactored in PDFTextStreamEngine and new
> PDFTextStripper classes which extends the former. The new PDFTextStripper
> contains a lot of new functionality that is not always needed by the clients
> extending it (page and bookmark position state bookkeeping, writer
> procedures). To avoid the burden of maintaining unneeded functionality of
> this class by the clients and also to save the run time there's a sense for
> them to extend PDFTextStreamEngine directly. Currently, PDFTextStreamEngine
> class is not declared public. This makes it package-private and does not let
> the clients from other packages to extend it.
> Suggestion: declare PDFTextStreamEngine class and it's constructor as public.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]