| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static ModelParser |
createModelWithFlavour(InputStream toLoad,
PDFAFlavour flavour) |
FeaturesCollection |
getFeatures(FeaturesConfig config) |
FeaturesCollection |
getFeatures(FeaturesConfig config,
List<FeaturesExtractor> extractors) |
PDFAFlavour |
getFlavour() |
PDDocument |
getPDDocument()
Get
PDDocument object for current file. |
Object |
getRoot()
Method return root object of model implementation from pdf box model
together with the hierarchy.
|
public static ModelParser createModelWithFlavour(InputStream toLoad, PDFAFlavour flavour) throws ModelParsingException
ModelParsingExceptionpublic PDDocument getPDDocument() throws IOException
PDDocument object for current file.PDDocument object of pdfbox
library.IOException - when target file is not pdf or pdf file is not contain root
objectpublic Object getRoot()
getRoot in interface PDFParserCosDocumentIOException - when target file is not pdf or pdf file is not contain root
objectpublic PDFAFlavour getFlavour()
getFlavour in interface PDFParserpublic FeaturesCollection getFeatures(FeaturesConfig config)
getFeatures in interface PDFParserpublic FeaturesCollection getFeatures(FeaturesConfig config, List<FeaturesExtractor> extractors)
getFeatures in interface PDFParserextractors - extractors for features reportingpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2015–2016 The veraPDF Consortium. All rights reserved.