Package | Description |
---|---|
org.apache.pdfbox.cos |
These are the low level objects that make up a PDF document.
|
org.apache.pdfbox.io |
This package contains IO streams.
|
org.apache.pdfbox.pdfparser |
The pdfparser package contains classes to parse PDF documents and objects within the document.
|
org.apache.pdfbox.pdmodel |
The PDModel package represents a high level API for creating and manipulating PDF documents.
|
org.apache.pdfbox.pdmodel.common |
High level PD classes that are used throughout several packages are placed in the PDModel common package.
|
org.apache.pdfbox.pdmodel.graphics.xobject |
This package deals with images that are stored in a PDF document.
|
org.apache.pdfbox.util |
This package contains utility classes that are used by the PDFBox project.
|
Modifier and Type | Method | Description |
---|---|---|
RandomAccess |
COSDocument.getScratchFile() |
Deprecated.
direct access to the scratch file will be removed
|
RandomAccess |
COSStream.getScratchFile() |
Deprecated.
the direct access to the scratch file will be removed.
|
Constructor | Description |
---|---|
COSDocument(RandomAccess file) |
Constructor that will use the following random access file for storage
of the PDF streams.
|
COSDocument(RandomAccess scratchFileValue,
boolean forceParsingValue) |
Constructor that will use the given random access file for storage
of the PDF streams.
|
COSStream(COSDictionary dictionary,
RandomAccess storage) |
Constructor.
|
COSStream(RandomAccess storage) |
Constructor.
|
Modifier and Type | Class | Description |
---|---|---|
class |
RandomAccessBuffer |
An implementation of the RandomAccess interface to store a pdf in memory.
|
class |
RandomAccessFile |
An interface to allow temp PDF data to be stored in a scratch
file on the disk to reduce memory consumption.
|
Constructor | Description |
---|---|
RandomAccessFileInputStream(RandomAccess raFile,
long startPosition,
long length) |
Constructor.
|
RandomAccessFileOutputStream(RandomAccess raf) |
Constructor to create an output stream that will write to the end of a
random access file.
|
Modifier and Type | Field | Description |
---|---|---|
protected RandomAccess |
ConformingPDFParser.inputFile |
Modifier and Type | Method | Description |
---|---|---|
protected COSStream |
BaseParser.parseCOSStream(COSDictionary dic,
RandomAccess file) |
This will read a COSStream from the input stream.
|
protected COSStream |
NonSequentialPDFParser.parseCOSStream(COSDictionary dic,
RandomAccess file) |
This will read a COSStream from the input stream using length attribute
within dictionary.
|
Constructor | Description |
---|---|
NonSequentialPDFParser(java.io.File file,
RandomAccess raBuf) |
Constructs parser for given file using given buffer for temporary
storage.
|
NonSequentialPDFParser(java.io.File file,
RandomAccess raBuf,
java.lang.String decryptionPassword) |
Constructs parser for given file using given buffer for temporary
storage.
|
NonSequentialPDFParser(java.io.InputStream input,
RandomAccess raBuf,
java.lang.String decryptionPassword) |
Constructor.
|
PDFParser(java.io.InputStream input,
RandomAccess rafi) |
Constructor to allow control over RandomAccessFile.
|
PDFParser(java.io.InputStream input,
RandomAccess rafi,
boolean force) |
Constructor to allow control over RandomAccessFile.
|
PDFStreamParser(java.io.InputStream stream,
RandomAccess raf) |
Constructor that takes a stream to parse.
|
PDFStreamParser(java.io.InputStream stream,
RandomAccess raf,
boolean forceParsing) |
Constructor that takes a stream to parse.
|
Modifier and Type | Method | Description |
---|---|---|
static PDDocument |
PDDocument.load(java.io.File file,
RandomAccess scratchFile) |
This will load a document from a file.
|
static PDDocument |
PDDocument.load(java.io.InputStream input,
RandomAccess scratchFile) |
This will load a document from an input stream.
|
static PDDocument |
PDDocument.load(java.io.InputStream input,
RandomAccess scratchFile,
boolean force) |
This will load a document from an input stream.
|
static PDDocument |
PDDocument.load(java.lang.String filename,
RandomAccess scratchFile) |
This will load a document from a file.
|
static PDDocument |
PDDocument.load(java.net.URL url,
RandomAccess scratchFile) |
This will load a document from a url.
|
static PDDocument |
PDDocument.loadNonSeq(java.io.File file,
RandomAccess scratchFile) |
Parses PDF with non sequential parser.
|
static PDDocument |
PDDocument.loadNonSeq(java.io.File file,
RandomAccess scratchFile,
java.lang.String password) |
Parses PDF with non sequential parser.
|
static PDDocument |
PDDocument.loadNonSeq(java.io.InputStream input,
RandomAccess scratchFile) |
Parses PDF with non sequential parser.
|
static PDDocument |
PDDocument.loadNonSeq(java.io.InputStream input,
RandomAccess scratchFile,
java.lang.String password) |
Parses PDF with non sequential parser.
|
Modifier and Type | Method | Description |
---|---|---|
RandomAccess |
COSStreamArray.getScratchFile() |
This will get the scratch file associated with this stream.
|
Constructor | Description |
---|---|
PDCcitt(PDDocument doc,
RandomAccess raf) |
Construct from a tiff file.
|
PDCcitt(PDDocument doc,
RandomAccess raf,
int number) |
Construct from a tiff file.
|
Modifier and Type | Method | Description |
---|---|---|
void |
PDFMergerUtility.mergeDocumentsNonSeq(RandomAccess scratchFile) |
Merge the list of source documents with the non sequential parser, saving
the result in the destination file.
|