Package | Description |
---|---|
org.apache.pdfbox.io |
This package contains IO streams.
|
org.apache.pdfbox.multipdf | |
org.apache.pdfbox.pdmodel |
The PDModel package represents a high level API for creating and manipulating PDF documents.
|
Modifier and Type | Method and Description |
---|---|
MemoryUsageSetting |
MemoryUsageSetting.getPartitionedCopy(int parallelUseCount)
Returns a copy of this instance with the maximum memory/storage restriction
divided by the provided number of parallel uses.
|
MemoryUsageSetting |
MemoryUsageSetting.setTempDir(File tempDir)
Sets directory to be used for temporary files.
|
static MemoryUsageSetting |
MemoryUsageSetting.setupMainMemoryOnly()
Setups buffering memory usage to only use main-memory (no temporary file)
which is not restricted in size.
|
static MemoryUsageSetting |
MemoryUsageSetting.setupMainMemoryOnly(long maxMainMemoryBytes)
Setups buffering memory usage to only use main-memory with the defined maximum.
|
static MemoryUsageSetting |
MemoryUsageSetting.setupMixed(long maxMainMemoryBytes)
Setups buffering memory usage to use a portion of main-memory and additionally
temporary file(s) in case the specified portion is exceeded.
|
static MemoryUsageSetting |
MemoryUsageSetting.setupMixed(long maxMainMemoryBytes,
long maxStorageBytes)
Setups buffering memory usage to use a portion of main-memory and additionally
temporary file(s) in case the specified portion is exceeded.
|
static MemoryUsageSetting |
MemoryUsageSetting.setupTempFileOnly()
Setups buffering memory usage to only use temporary file(s) (no main-memory)
with not restricted size.
|
static MemoryUsageSetting |
MemoryUsageSetting.setupTempFileOnly(long maxStorageBytes)
Setups buffering memory usage to only use temporary file(s) (no main-memory)
with the specified maximum size.
|
Constructor and Description |
---|
ScratchFile(MemoryUsageSetting memUsageSetting)
Initializes page handler.
|
Modifier and Type | Method and Description |
---|---|
void |
PDFMergerUtility.mergeDocuments(MemoryUsageSetting memUsageSetting)
Merge the list of source documents, saving the result in the destination
file.
|
Modifier and Type | Method and Description |
---|---|
static PDDocument |
PDDocument.load(byte[] input,
String password,
InputStream keyStore,
String alias,
MemoryUsageSetting memUsageSetting)
Parses a PDF.
|
static PDDocument |
PDDocument.load(File file,
MemoryUsageSetting memUsageSetting)
Parses a PDF.
|
static PDDocument |
PDDocument.load(File file,
String password,
InputStream keyStore,
String alias,
MemoryUsageSetting memUsageSetting)
Parses a PDF.
|
static PDDocument |
PDDocument.load(File file,
String password,
MemoryUsageSetting memUsageSetting)
Parses a PDF.
|
static PDDocument |
PDDocument.load(InputStream input,
MemoryUsageSetting memUsageSetting)
Parses a PDF.
|
static PDDocument |
PDDocument.load(InputStream input,
String password,
InputStream keyStore,
String alias,
MemoryUsageSetting memUsageSetting)
Parses a PDF.
|
static PDDocument |
PDDocument.load(InputStream input,
String password,
MemoryUsageSetting memUsageSetting)
Parses a PDF.
|
Constructor and Description |
---|
PDDocument(MemoryUsageSetting memUsageSetting)
Creates an empty PDF document.
|
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.