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

Timo Boehme closed PDFBOX-1211.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.0
         Assignee: Timo Boehme

commited with revision 1298775
                
> Refactor IO interfaces + PATCH
> ------------------------------
>
>                 Key: PDFBOX-1211
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1211
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 1.6.0
>            Reporter: Timo Boehme
>            Assignee: Timo Boehme
>            Priority: Minor
>             Fix For: 1.7.0
>
>         Attachments: 2012-01-18_RandomAccess.patch, RandomAccessRead.java, 
> SequentialRead.java
>
>
> The new (more) conforming PDF parsers (PDFBOX-1000, PDFBOX-1199) have other 
> access requirements on the input data than the current parser. Depending on 
> the component (Lexer, Parser) a sequential read or random read is needed. In 
> order to support multiple kinds of sources the access should be defined via 
> interfaces which allows different implementations (files, streams, ...). 
> Since PDFBox already has a RandomAccess interface the most compatible 
> solution is to split it up into an interface hierarchy: RandomAccess extends 
> RandomAccessRead extends SequentialRead.
> Attached are the new classes RandomAccessRead and SequentialRead as well as 
> the patch for RandomAccess.
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to