You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Leo (JIRA)" <ji...@apache.org> on 2015/12/31 11:21:49 UTC
[jira] [Created] (PDFBOX-3178) Make PDFTextStreamEngine class
public
Leo created PDFBOX-3178:
---------------------------
Summary: 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org