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.pdmodel.graphics.image |
This package deals with images that are stored in a PDF document.
|
Modifier and Type | Field and Description |
---|---|
private RandomAccess |
COSOutputStream.buffer |
private RandomAccess |
COSStream.randomAccess |
Modifier and Type | Class and Description |
---|---|
class |
RandomAccessBuffer
An implementation of the RandomAccess interface to store data in memory.
|
class |
RandomAccessFile
A RandomAccess implementation which allows data to be stored in a scratch file on the disk to
reduce memory consumption.
|
(package private) class |
ScratchFileBuffer
Implementation of
RandomAccess as sequence of multiple fixed size pages handled
by ScratchFile . |
Modifier and Type | Method and Description |
---|---|
RandomAccess |
ScratchFile.createBuffer()
Creates a new buffer using this page handler.
|
RandomAccess |
ScratchFile.createBuffer(java.io.InputStream input)
Creates a new buffer using this page handler and initializes it with the
data read from provided input stream (input stream is copied to buffer).
|
Modifier and Type | Method and Description |
---|---|
static PDImageXObject |
CCITTFactory.createFromRandomAccess(PDDocument document,
RandomAccess reader)
Deprecated.
Use
CCITTFactory.createFromFile(PDDocument, File) instead. |
static PDImageXObject |
CCITTFactory.createFromRandomAccess(PDDocument document,
RandomAccess reader,
int number)
Deprecated.
Use
CCITTFactory.createFromFile(PDDocument, File, int) instead. |
private static PDImageXObject |
CCITTFactory.createFromRandomAccessImpl(PDDocument document,
RandomAccess reader,
int number)
Creates a new CCITT Fax compressed image XObject from a TIFF file.
|
private static void |
CCITTFactory.extractFromTiff(RandomAccess reader,
java.io.OutputStream os,
COSDictionary params,
int number) |
private static int |
CCITTFactory.readlong(char endianess,
RandomAccess raf) |
private static int |
CCITTFactory.readshort(char endianess,
RandomAccess raf) |