Hi,
I suspect this was lost in refactoring almost 5 years ago. It happened
in PDFBOX-4569 / https://svn.apache.org/r1872678
<https://svn.apache.org/r1872678>.
Unless there's a reason not to, I'd add it for the next version. But in
the meantime you'd still be stuck with having to use a temp file (or
stay with 2.0). Preflight will be removed in 4.0, you should use VeraPDF
which is better and you and me paid for it with our taxes.
Tilman
On 28.10.2024 11:41, Jérome SOUSSENS wrote:
Hello there,
I’m in the process of migrating from PDFBox 2 to 3.
In 2.X version, the PreflighParser class was offering a constructor for
‘RandomAccessRead’ objects, allowing to parse in-memory data like byte[].
Now in 3.X, only files are allowed as input in the constructor.
How can I handle that ? Should I really write files on the file system ?
Thanks in advance for your help.
Jerome S.
---------------------------------------------------------------------
To unsubscribe, e-mail:[email protected]
For additional commands, e-mail:[email protected]