From dev-return-63867-archive-asf-public=cust-asf.ponee.io@pdfbox.apache.org Sun Jun 30 14:13:06 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id A2DAF180645 for ; Sun, 30 Jun 2019 16:13:06 +0200 (CEST) Received: (qmail 59850 invoked by uid 500); 30 Jun 2019 14:13:06 -0000 Mailing-List: contact dev-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pdfbox.apache.org Delivered-To: mailing list dev@pdfbox.apache.org Received: (qmail 59839 invoked by uid 99); 30 Jun 2019 14:13:05 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jun 2019 14:13:05 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 57EBAE00A6 for ; Sun, 30 Jun 2019 14:13:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1B3CB25FEF for ; Sun, 30 Jun 2019 14:13:00 +0000 (UTC) Date: Sun, 30 Jun 2019 14:13:00 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: dev@pdfbox.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PDFBOX-4340) Get rid of DataSource objects MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PDFBOX-4340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16875800#comment-16875800 ] ASF subversion and git services commented on PDFBOX-4340: --------------------------------------------------------- Commit 1862352 from lehmi@apache.org in branch 'pdfbox/branches/issue4569' [ https://svn.apache.org/r1862352 ] PDFBOX-4340: use File instead of DataSource > 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 > 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 (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org For additional commands, e-mail: dev-help@pdfbox.apache.org