Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-5538

Introduce interface/functional interface to handle stream caches

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0 PDFBox
    • 3.0.0 PDFBox
    • Parsing, Writing
    • 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

      Attachments

        Activity

          People

            lehmi Andreas Lehmkühler
            lehmi Andreas Lehmkühler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: