public class MetadataValidationProcess extends AbstractProcess
Constructor and Description |
---|
MetadataValidationProcess() |
Modifier and Type | Method and Description |
---|---|
protected List<ValidationResult.ValidationError> |
checkStreamFilterUsage(PDDocument doc)
Check if metadata dictionary has no stream filter
|
void |
validate(PreflightContext ctx) |
addFontError, addValidationError, addValidationErrors
public void validate(PreflightContext ctx) throws ValidationException
ValidationException
protected List<ValidationResult.ValidationError> checkStreamFilterUsage(PDDocument doc)
doc
- the document to check.Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.