You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Álison Fernandes (JIRA)" <ji...@apache.org> on 2014/01/08 10:56:57 UTC

[jira] [Created] (PDFBOX-1838) PDDocument.saveIncremental should receive an InputStream instead of FileInputStream

Álison Fernandes created PDFBOX-1838:
----------------------------------------

             Summary: PDDocument.saveIncremental should receive an InputStream instead of FileInputStream
                 Key: PDFBOX-1838
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1838
             Project: PDFBox
          Issue Type: Improvement
          Components: PDModel
    Affects Versions: 1.8.3
         Environment: Java Servler
            Reporter: Álison Fernandes
            Priority: Blocker


I'm manipulating a PDF in a servlet, all of the manipulation must be done in memory. Unfortunately, the FileInputStream requirement in PDDocument.saveIncremental(FileInputStream,OutputStream) blocks me from achieving my desired implementation, as the server receives the PDF file in an InputStream.

I believe that the main reason PDDocument is implemented like that is that COSWritter forces it to.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)