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 14:16:00 UTC

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

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

Andreas Lehmkühler resolved PDFBOX-5538.
----------------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             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