You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2012/09/30 13:05:07 UTC

[jira] [Updated] (PDFBOX-1387) Create NonSequentialParser with InputStream

     [ https://issues.apache.org/jira/browse/PDFBOX-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler updated PDFBOX-1387:
---------------------------------------

    Fix Version/s: 1.8.0
    
> 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
>             Fix For: 1.8.0
>
>         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