Package | Description |
---|---|
org.apache.pdfbox.preflight | |
org.apache.pdfbox.preflight.parser |
Modifier and Type | Method and Description |
---|---|
Format |
PreflightDocument.getSpecification() |
static Format |
Format.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Format[] |
Format.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
PreflightDocument(COSDocument doc,
Format format)
Create a preflight document based on the COSDocument and load the default configuration for the given format.
|
PreflightDocument(COSDocument doc,
Format format,
PreflightConfiguration config)
Create a preflight document based on the COSDocument that will use the given configuration bean to process the
validation. if the configuration is null, a default configuration will be load using the given format.
|
PreflightDocument(Format format)
Create an empty preflight document and load the default configuration for the given format.
|
PreflightDocument(Format format,
PreflightConfiguration cfg)
Create an empty preflight document that will use the given configuration bean to process the validation. if the
configuration is null, a default configuration will be load using the given format.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PreflightParser.createPdfADocument(Format format,
PreflightConfiguration config) |
void |
PreflightParser.parse(Format format)
Parse the given file and check if it is a confirming file according to the given format.
|
void |
PreflightParser.parse(Format format,
PreflightConfiguration config)
Parse the given file and check if it is a confirming file according to the given format.
|
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.