Andreas Lehmkühler created PDFBOX-5538:
------------------------------------------

             Summary: Introduce interface/functional interface to handle stream 
caches
                 Key: PDFBOX-5538
                 URL: https://issues.apache.org/jira/browse/PDFBOX-5538
             Project: PDFBox
          Issue Type: Improvement
          Components: Parsing, Writing
    Affects Versions: 3.0.0 PDFBox
            Reporter: Andreas Lehmkühler
            Assignee: Andreas Lehmkühler
             Fix For: 3.0.0 PDFBox


The parser of PDFBox uses the current implementation of 
ScratchFile/ScratchFileBuffer exclusively as cache for streams when 
creating/writing COSStreams.

Using an interface to handle those caches 
* makes the parser code of PDFBox independent of a specific implementation of 
that cache
* gives any user the opportunity to implement some other kind of a cache
* the current implementation of ScratchFile/ScratchFileBuffer can still be used 
as default



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to