| Package | Description |
|---|---|
| org.apache.pdfbox.preflight | |
| org.apache.pdfbox.preflight.exception | |
| org.apache.pdfbox.preflight.parser |
| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
PreflightDocument.validate()
Check that PDDocument is a valid file according to the format given during the object creation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ValidationResult.mergeResult(ValidationResult otherResult)
Add the ValidationError object of the otherResult in the Error list of the current object.
|
| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
SyntaxValidationException.getResult() |
| Constructor and Description |
|---|
SyntaxValidationException(String message,
Throwable cause,
ValidationResult result) |
SyntaxValidationException(String message,
ValidationResult result) |
SyntaxValidationException(Throwable cause,
ValidationResult result) |
| Modifier and Type | Method and Description |
|---|---|
static ValidationResult |
PreflightParser.validate(File file)
Load and validate the given file.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
XmlResultParser.createResponseWithError(Document rdocument,
String pdfType,
ValidationResult result,
Element preflight) |
Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.