public interface VeraPDFFoundry extends Component
| Modifier and Type | Method and Description |
|---|---|
PDFAValidator |
createFailFastValidator(PDFAFlavour flavour,
int maxFailures) |
PDFAValidator |
createFailFastValidator(ValidationProfile profile,
int maxFailures) |
MetadataFixer |
createMetadataFixer() |
PDFAParser |
createParser(InputStream pdfStream)
Method that returns a PDFParser instance, parsing the passed
pdfStream parameter. |
PDFAParser |
createParser(InputStream pdfStream,
PDFAFlavour flavour)
Method that returns a PDFParser instance, parsing the passed
pdfStream parameter. |
PDFAValidator |
createValidator(PDFAFlavour flavour,
boolean logSuccess) |
PDFAValidator |
createValidator(ValidationProfile profile,
boolean logSuccess) |
PDFAValidator |
createValidator(ValidatorConfig config) |
PDFAValidator |
createValidator(ValidatorConfig config,
PDFAFlavour flavour) |
PDFAValidator |
createValidator(ValidatorConfig config,
ValidationProfile profile) |
PDFAFlavour |
defaultFlavour() |
getDetailsPDFAParser createParser(InputStream pdfStream) throws ModelParsingException, EncryptedPdfException
pdfStream parameter. The parser or parser provider will detect
the flavour of the PDF document stream and provide an appropriate parser.pdfStream - InputStream for the PDF document to be parsed.PDFParser instance created from the supplied
InputStream.ModelParsingException - when there's a problem parsing the PDF fileEncryptedPdfException - if the PDF to be parsed is encryptedPDFAParser createParser(InputStream pdfStream, PDFAFlavour flavour) throws ModelParsingException, EncryptedPdfException
pdfStream parameter. The caller must explicitly state the flavour
of the PDF document stream.pdfStream - InputStream for the PDF document to be parsed.flavour - a PDFAFlavour instance indicating parser configuration
(PDF/A part and conformance level) to be assumed when parsing
the document.PDFParser instance created from the supplied
InputStream.ModelParsingException - when there's a problem parsing the PDF fileEncryptedPdfException - if the PDF to be parsed is encryptedPDFAValidator createValidator(ValidatorConfig config)
PDFAValidator createValidator(ValidatorConfig config, ValidationProfile profile)
PDFAValidator createValidator(ValidatorConfig config, PDFAFlavour flavour)
PDFAValidator createValidator(PDFAFlavour flavour, boolean logSuccess)
PDFAValidator createValidator(ValidationProfile profile, boolean logSuccess)
PDFAValidator createFailFastValidator(PDFAFlavour flavour, int maxFailures)
PDFAValidator createFailFastValidator(ValidationProfile profile, int maxFailures)
MetadataFixer createMetadataFixer()
PDFAFlavour defaultFlavour()
Copyright © 2015–2016 The veraPDF Consortium. All rights reserved.