You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/11/01 13:00:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17627150#comment-17627150 ] 

ASF subversion and git services commented on PDFBOX-5538:
---------------------------------------------------------

Commit 1904974 from lehmi@apache.org in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1904974 ]

PDFBOX-5538: introduce new interface RandomAccessStreamCache including functional interface StreamCacheCreateFunction

> 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