public class FileSpecificationValidationProcess extends AbstractProcess
Constructor and Description |
---|
FileSpecificationValidationProcess() |
Modifier and Type | Method and Description |
---|---|
void |
validate(PreflightContext ctx) |
List<ValidationResult.ValidationError> |
validateFileSpecification(PreflightContext ctx,
COSDictionary fileSpec)
Validate a FileSpec dictionary, a FileSpec dictionary mustn't have the EF (EmbeddedFile) entry.
|
addFontError, addValidationError, addValidationErrors
public void validate(PreflightContext ctx) throws ValidationException
ValidationException
public List<ValidationResult.ValidationError> validateFileSpecification(PreflightContext ctx, COSDictionary fileSpec)
ctx
- the preflight context.fileSpec
- the FileSpec Dictionary.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.