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 2015/06/07 18:17:00 UTC

[jira] [Commented] (PDFBOX-2645) Open PDF file from byte array without temp file

    [ https://issues.apache.org/jira/browse/PDFBOX-2645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14576321#comment-14576321 ] 

ASF subversion and git services commented on PDFBOX-2645:
---------------------------------------------------------

Commit 1684043 from [~lehmi] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1684043 ]

PDFBOX-2645: PDDocument accepts a byte array a input for the pdf to be read

> Open PDF file from byte array without temp file
> -----------------------------------------------
>
>                 Key: PDFBOX-2645
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2645
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Parsing
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: Andreas Lehmkühler
>
> On behalf of [~mkl] 
> {quote}
> wouldn't it be worth considering a PDFParser extension which accepts a byte array and sets raStream to a RandomAccessBufferedFileInputStream facade operating in memory on the array alone? That would allow use in contexts where the program has no file system access permissions.
> {quote}
> Yes this would be a good idea, and I actually had the same thought while looking at the sources while we both commented on
> https://stackoverflow.com/questions/28135026/ (where the person asking the question had some misconceptions about how stuff works)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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