You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/12/17 15:18:47 UTC

[jira] [Commented] (PDFBOX-2362) Remove .properties file usage in PDFStreamEngine

    [ https://issues.apache.org/jira/browse/PDFBOX-2362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15062090#comment-15062090 ] 

ASF subversion and git services commented on PDFBOX-2362:
---------------------------------------------------------

Commit 1720553 from [~lehmi] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1720553 ]

PDFBOX-2362: change string value due to renaming the property file

> Remove .properties file usage in PDFStreamEngine
> ------------------------------------------------
>
>                 Key: PDFBOX-2362
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2362
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: PDModel
>            Reporter: John Hewson
>            Assignee: John Hewson
>             Fix For: 2.0.0
>
>
> PDFStreamEngine and its subclasses currently load a list of OperatorProcessor classes from .properties files. This makes it difficult to override the classes, as the .properties files also need to be copied and pasted if changes are made. Worse still, subclasses in other modules are known to load .properties files from the pdfbox module which breaks OSGi, as discovered in PDFBOX-2358.
> There is currently an API, registerOperatorProcessor() which performs the same role. This should be adapted for use in subclasses, perhaps deprecated and replaced with something less brittle which doesn't require manually assigning operators to specific strings such as "BT" or "T*".



--
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