[ 
https://issues.apache.org/jira/browse/PDFBOX-5538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17628092#comment-17628092
 ] 

Tilman Hausherr commented on PDFBOX-5538:
-----------------------------------------

There are some javadoc errors:

 

PDFBox Trunk\pdfbox\src\main\java\org\apache\pdfbox\cos\COSDocument.java:128: 
error: @param name not found
     * @param streamCache a function to create an instance of a stream cache
            

PDFBox Trunk\pdfbox\src\main\java\org\apache\pdfbox\Loader.java:149: error: 
reference not found
     * @param input byte array that contains the document. \{@link 
org.apache.pdfbox.io.RandomAccessReadBuffered} is used
                                                                  ^
PDFBox Trunk\pdfbox\src\main\java\org\apache\pdfbox\Loader.java:165: error: 
reference not found
     * @param input byte array that contains the document. \{@link 
org.apache.pdfbox.io.RandomAccessReadBuffered} is used
                                                                  ^
PDFBox Trunk\pdfbox\src\main\java\org\apache\pdfbox\Loader.java:182: error: 
reference not found
     * @param input byte array that contains the document. \{@link 
org.apache.pdfbox.io.RandomAccessReadBuffered} is used
                                                                  ^
PDFBox Trunk\pdfbox\src\main\java\org\apache\pdfbox\Loader.java:202: error: 
reference not found
     * @param input byte array that contains the document. \{@link 
org.apache.pdfbox.io.RandomAccessReadBuffered} is used
                                                                  ^
PDFBox Trunk\pdfbox\src\main\java\org\apache\pdfbox\Loader.java:291: error: 
@param name not found
     * @param streamCacheCreateFunctiona function to create an instance of a 
stream cache to be used for buffering
              ^

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to