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 2019/09/10 12:05:00 UTC
[jira] [Commented] (PDFBOX-4340) Get rid of DataSource objects
[ https://issues.apache.org/jira/browse/PDFBOX-4340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16926556#comment-16926556 ]
ASF subversion and git services commented on PDFBOX-4340:
---------------------------------------------------------
Commit 1866739 from lehmi@apache.org in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1866739 ]
PDFBOX-4340: remove usage of DataSource interface
> 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: Andreas Lehmkühler
> Priority: Minor
> Labels: jdk11
> Fix For: 3.0.0 PDFBox
>
>
> As suggested by [~ssteiner1] in PDFBOX-4163, 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
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org