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 2022/11/01 12:57:00 UTC

[jira] [Created] (PDFBOX-5538) Introduce interface/functional interface to handle stream caches

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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org