Package org.verapdf.features.gf
Class GFFeatureParser
java.lang.Object
org.verapdf.features.gf.GFFeatureParser
Parses GreenField PDDocument to generate features collection
- Author:
- Maksim Bezrukov
-
Method Summary
Modifier and TypeMethodDescriptionstatic FeatureExtractionResultgetFeaturesCollection(PDDocument document, List<AbstractFeaturesExtractor> extractors, FeatureExtractorConfig config) Parses the document and returns Feature collection by using given Features Reporterstatic FeatureExtractionResultgetFeaturesCollection(PDDocument document, FeatureExtractorConfig config) Parses the document and returns Feature collection by using given Features Reporter
-
Method Details
-
getFeaturesCollection
public static FeatureExtractionResult getFeaturesCollection(PDDocument document, FeatureExtractorConfig config) Parses the document and returns Feature collection by using given Features Reporter- Parameters:
document- the document for parsing- Returns:
- FeaturesCollection class with information about all featurereport
-
getFeaturesCollection
public static FeatureExtractionResult getFeaturesCollection(PDDocument document, List<AbstractFeaturesExtractor> extractors, FeatureExtractorConfig config) Parses the document and returns Feature collection by using given Features Reporter- Parameters:
document- the document for parsing- Returns:
- FeaturesCollection class with information about all featurereport
-