public interface PDFAValidator
Validators class. This is designed to allow
immutable validator instances, meaning there is no methods provided to change
the ValidationProfile, or the pre-configured settings.| Modifier and Type | Method and Description |
|---|---|
ValidationProfile |
getProfile()
Returns the complete
ValidationProfile enforced by this PDFAValidator. |
ValidationResult |
validate(PDFParser toValidate)
This method validates an InputStream, presumably believed to be a PDF/A
document of a specific flavour that matches the ValidationProfile
supported by the PDFAValidator instance.
|
ValidationProfile getProfile()
ValidationProfile enforced by this PDFAValidator.ValidationResult validate(PDFParser toValidate) throws ValidationException, ModelParsingException
toValidate - a InputStream to be validatedValidationResult containing the result of valdiation
and details of failed checks and possibly passed checks,
dependant upon configuration.ValidationExceptionModelParsingExceptionIllegalArgumentException - if the toValidate parameter is null PDFAValidationException
if the validation process failsCopyright © 2015–2016 The veraPDF Consortium. All rights reserved.