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.
|
Modifier and Type | Method and Description |
---|---|
RandomAccess |
COSDocument.getScratchFile()
This will get the scratch file for this document.
|
RandomAccess |
COSStream.getScratchFile()
This will get the scratch file associated with this stream.
|
Constructor and Description |
---|
COSDocument(RandomAccess file)
Constructor that will use the following random access file for storage
of the PDF streams.
|
COSDocument(RandomAccess scratchFile,
boolean forceParsing)
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 interface to allow PDF files to be stored completely 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 | Method and Description |
---|---|
protected COSStream |
BaseParser.parseCOSStream(COSDictionary dic,
RandomAccess file)
This will read a COSStream from the input stream.
|
Constructor and Description |
---|
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.
|
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.
|
Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.