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.
|
addValidationError, addValidationErrors
public void validate(PreflightContext ctx) throws ValidationException
ValidationException
public List<ValidationResult.ValidationError> validateFileSpecification(PreflightContext ctx, COSDictionary fileSpec)
ctx
- The document handlercObj
- the FileSpec DictionaryCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.