[
https://issues.apache.org/jira/browse/PDFBOX-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Leleu resolved PDFBOX-1387.
--------------------------------
Resolution: Fixed
Assignee: Eric Leleu
svn commit: r1387736
> Create NonSequentialParser with InputStream
> -------------------------------------------
>
> Key: PDFBOX-1387
> URL: https://issues.apache.org/jira/browse/PDFBOX-1387
> Project: PDFBox
> Issue Type: Improvement
> Components: Parsing, Preflight
> Affects Versions: 1.7.1
> Reporter: Eric Leleu
> Assignee: Eric Leleu
> Attachments: InputStream_NonSequentialParser.patch,
> patch-1373-pdfbox.txt
>
>
> Hi,
> Currently the NonSequentialParser can't be initialized using an InputStream.
> To allow the PreflightParser to inherit from the NonSequentialParser, I have
> create a constructor that takes an InputStream as parameter.
> In attachment you can find a patch that :
> - Creates a TmpFile with the given InputStream in the constructor method
> - Deletes the TmpFile at the end of the parse method.
> - call the parseObjectDynamically method on the Trailer entries (useful for
> Preflight module)
> What is your opinion about this proposal.
> Regards,
> Eric
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira