Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0 PDFBox
-
None
Description
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