pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PDFBOX-4340) Get rid of DataSource objects
Date Thu, 11 Oct 2018 19:15:00 GMT
Tilman Hausherr created PDFBOX-4340:

             Summary: Get rid of DataSource objects
                 Key: PDFBOX-4340
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4340
             Project: PDFBox
          Issue Type: Task
          Components: Preflight
    Affects Versions: 3.0.0 PDFBox
            Reporter: Tilman Hausherr
            Assignee: Tilman Hausherr

As suggested by [~ssteiner1], get rid of DataSource type which requires the use of the "JavaBeans
Activation Framework" jar which is no longer part of java. I'll do this in two steps:
1) create a very simple DataSource interface and FileDataSource class, that has only {{getName()}}
and {{getInputStream()}} because these are the only ones being used.
2) get rid of the DataSource types completely, i.e. pass files or inputStreams to preflight.
This is easier to use than this weird wrapper type.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org

View raw message