Constructor to allow control over RandomAccessFile.
Parameters: input - The input stream that contains the PDF document. Parameters: rafi - The RandomAccessFile to be used in internal COSDocument throws: IOException - If there is an error initializing the stream.
This will get the document that was parsed. parse() must be called before this is called.
When you are done with this document you must call close() on it to release
resources.
The document that was parsed. throws: IOException - If there is an error getting the document.
This will get the FDF document that was parsed. When you are done with
this document you must call close() on it to release resources.
The document at the PD layer. throws: IOException - If there is an error getting the document.
This will get the PD document that was parsed. When you are done with
this document you must call close() on it to release resources.
The document at the PD layer. throws: IOException - If there is an error getting the document.
This will prase the stream and create the PDF document. This will close
the stream when it is done parsing.
throws: IOException - If there is an error reading from the stream.
This will parse the xref table from the stream.
It stores the starting object number and the count
Parameters: params - The start and count parameters throws: IOException - If an IO error occurs.
This is the directory where pdfbox will create a temporary file
for storing pdf document stream in. By default this directory will
be the value of the system property java.io.tmpdir.
Parameters: tmpDir - The directory to create scratch files needed to storepdf document streams.
This will skip a header's binary fill bytes. This is in accordance to
PDF Specification 1.5 pg 68 section 3.4.1 "Syntax.File Structure.File Header"
throws: IOException - If there is an error reading from the stream.
Fields inherited from org.pdfbox.pdfparser.BaseParser