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 and Description |
---|---|
RandomAccess |
COSStream.getScratchFile()
Deprecated.
the direct access to the scratch file will be removed.
|
RandomAccess |
COSDocument.getScratchFile()
Deprecated.
direct access to the scratch file will be removed
|
Constructor and 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 and 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 and 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 and Description |
---|---|
protected RandomAccess |
ConformingPDFParser.inputFile |
Modifier and Type | Method and Description |
---|---|
protected COSStream |
NonSequentialPDFParser.parseCOSStream(COSDictionary dic,
RandomAccess file)
This will read a COSStream from the input stream using length attribute
within dictionary.
|
protected COSStream |
BaseParser.parseCOSStream(COSDictionary dic,
RandomAccess file)
This will read a COSStream from the input stream.
|
Constructor and Description |
---|
NonSequentialPDFParser(File file,
RandomAccess raBuf)
Constructs parser for given file using given buffer for temporary
storage.
|
NonSequentialPDFParser(File file,
RandomAccess raBuf,
String decryptionPassword)
Constructs parser for given file using given buffer for temporary
storage.
|
NonSequentialPDFParser(InputStream input,
RandomAccess raBuf,
String decryptionPassword)
Constructor.
|
PDFParser(InputStream input,
RandomAccess rafi)
Constructor to allow control over RandomAccessFile.
|
PDFParser(InputStream input,
RandomAccess rafi,
boolean force)
Constructor to allow control over RandomAccessFile.
|
PDFStreamParser(InputStream stream,
RandomAccess raf)
Constructor that takes a stream to parse.
|
PDFStreamParser(InputStream stream,
RandomAccess raf,
boolean forceParsing)
Constructor that takes a stream to parse.
|
Modifier and Type | Method and Description |
---|---|
static PDDocument |
PDDocument.load(File file,
RandomAccess scratchFile)
This will load a document from a file.
|
static PDDocument |
PDDocument.load(InputStream input,
RandomAccess scratchFile)
This will load a document from an input stream.
|
static PDDocument |
PDDocument.load(InputStream input,
RandomAccess scratchFile,
boolean force)
This will load a document from an input stream.
|
static PDDocument |
PDDocument.load(String filename,
RandomAccess scratchFile)
This will load a document from a file.
|
static PDDocument |
PDDocument.load(URL url,
RandomAccess scratchFile)
This will load a document from a url.
|
static PDDocument |
PDDocument.loadNonSeq(File file,
RandomAccess scratchFile)
Parses PDF with non sequential parser.
|
static PDDocument |
PDDocument.loadNonSeq(File file,
RandomAccess scratchFile,
String password)
Parses PDF with non sequential parser.
|
static PDDocument |
PDDocument.loadNonSeq(InputStream input,
RandomAccess scratchFile)
Parses PDF with non sequential parser.
|
static PDDocument |
PDDocument.loadNonSeq(InputStream input,
RandomAccess scratchFile,
String password)
Parses PDF with non sequential parser.
|
Modifier and Type | Method and Description |
---|---|
RandomAccess |
COSStreamArray.getScratchFile()
This will get the scratch file associated with this stream.
|
Constructor and 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 and Description |
---|---|
void |
PDFMergerUtility.mergeDocumentsNonSeq(RandomAccess scratchFile)
Merge the list of source documents with the non sequential parser, saving
the result in the destination file.
|
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.