Class FileStatsExtractor
java.lang.Object
org.odpi.openmetadata.adapters.connectors.surveyaction.extractors.FileStatsExtractor
FileStatsExtractor uses the FileClassifier to extract the stats about a file and then convert them into a list of
annotation.
-
Constructor Summary
ConstructorDescriptionFileStatsExtractor
(File file, FileClassifier fileClassifier, SurveyActionServiceConnector surveyActionServiceConnector) Constructor captures the file that is to be analysed. -
Method Summary
-
Constructor Details
-
FileStatsExtractor
public FileStatsExtractor(File file, FileClassifier fileClassifier, SurveyActionServiceConnector surveyActionServiceConnector) Constructor captures the file that is to be analysed.- Parameters:
file
- file to analyse
-
-
Method Details
-
getAnnotation
public Annotation getAnnotation() throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, IOException
-