[
https://issues.apache.org/jira/browse/PDFBOX-5711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler resolved PDFBOX-5711.
----------------------------------------
Resolution: Fixed
I've added support for java.nio.file.Path to the following classes:
* org.apache.pdfbox.io.RandomAccessReadBufferedFile
* org.apache.pdfbox.io.RandomAccessReadMemoryMappedFile
> Loader: add support for java.nio.file.Path
> ------------------------------------------
>
> Key: PDFBOX-5711
> URL: https://issues.apache.org/jira/browse/PDFBOX-5711
> Project: PDFBox
> Issue Type: Improvement
> Components: IO
> Affects Versions: 3.0.0 PDFBox
> Reporter: Nicola Isotta
> Assignee: Andreas Lehmkühler
> Priority: Minor
> Fix For: 3.0.1 PDFBox, 4.0.0
>
>
> Currently the Loader class only accepts byte[] or File as source for loading
> PDFs. Would it be possible to load PDFs from java.nio.file.Path objects?
>
> I know that there's a toFile() method on Path, but it works only if the Path
> object has been created from the default provider.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]