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.preflight.parser |
Modifier and Type | Field and Description |
---|---|
private ScratchFile |
COSDocument.scratchFile |
private ScratchFile |
COSStream.scratchFile |
private ScratchFile |
COSOutputStream.scratchFile |
Modifier and Type | Method and Description |
---|---|
(package private) static COSInputStream |
COSInputStream.create(java.util.List<Filter> filters,
COSDictionary parameters,
java.io.InputStream in,
ScratchFile scratchFile)
Creates a new COSInputStream from an encoded input stream.
|
(package private) static COSInputStream |
COSInputStream.create(java.util.List<Filter> filters,
COSDictionary parameters,
java.io.InputStream in,
ScratchFile scratchFile,
DecodeOptions options) |
Constructor and Description |
---|
COSDocument(ScratchFile scratchFile)
Constructor that will use the provide memory handler for storage of the
PDF streams.
|
COSOutputStream(java.util.List<Filter> filters,
COSDictionary parameters,
java.io.OutputStream output,
ScratchFile scratchFile)
Creates a new COSOutputStream writes to an encoded COS stream.
|
COSStream(ScratchFile scratchFile)
Creates a new stream with an empty dictionary.
|
Modifier and Type | Field and Description |
---|---|
private ScratchFile |
ScratchFileBuffer.pageHandler
The underlying page handler.
|
Modifier and Type | Method and Description |
---|---|
static ScratchFile |
ScratchFile.getMainMemoryOnlyInstance()
Getter for an instance using only unrestricted main memory for buffering
(same as
new ScratchFile(MemoryUsageSetting.setupMainMemoryOnly()) ). |
Constructor and Description |
---|
ScratchFileBuffer(ScratchFile pageHandler)
Creates a new buffer using pages handled by provided
ScratchFile . |
Modifier and Type | Method and Description |
---|---|
private void |
PDFParser.init(ScratchFile scratchFile) |
Constructor and Description |
---|
PDFParser(RandomAccessRead source,
ScratchFile scratchFile)
Constructor.
|
PDFParser(RandomAccessRead source,
java.lang.String decryptionPassword,
java.io.InputStream keyStore,
java.lang.String alias,
ScratchFile scratchFile)
Constructor.
|
PDFParser(RandomAccessRead source,
java.lang.String decryptionPassword,
ScratchFile scratchFile)
Constructor.
|
Constructor and Description |
---|
PreflightParser(javax.activation.DataSource dataSource,
ScratchFile scratch)
Constructor.
|
PreflightParser(java.io.File file,
ScratchFile scratch)
Constructor.
|
PreflightParser(java.lang.String filename,
ScratchFile scratch)
Constructor.
|