Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4340

Get rid of DataSource objects

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0 PDFBox
    • Fix Version/s: 3.0.0 PDFBox
    • Component/s: Preflight
    • Labels:

      Description

      As suggested by Stephan Steiner 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.

        Attachments

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: