public final class ExternConfigReader extends Object implements MetExtractorConfigReader, ExternMetExtractorMetKeys, ExternConfigReaderMetKeys
Reader that reads ExternalMetExtractorConfig
s from an XML file.
DATA_FILE_PLACE_HOLDER, DEFAULT_MET_FILE_EXTENSION, MET_FILE_PLACE_HOLDER
APPEND_EXT_ATTR, ARG_TAG, ARGS_TAG, ENV_REPLACE_ATTR, EXEC_TAG, EXTRACTOR_BIN_PATH_TAG, IS_DATA_FILE_ATTR, IS_MET_FILE_ATTR, IS_PATH_ATTR, MET_FILE_EXT_ATTR, WORKING_DIR_ATTR
Constructor and Description |
---|
ExternConfigReader() |
Modifier and Type | Method and Description |
---|---|
MetExtractorConfig |
parseConfigFile(File file)
Parses a config
File into a MetExtractorConfig obj |
public MetExtractorConfig parseConfigFile(File file) throws MetExtractorConfigReaderException
MetExtractorConfigReader
File
into a MetExtractorConfig
objparseConfigFile
in interface MetExtractorConfigReader
file
- The config File
to be parsedMetExtractorConfig
obj created by parsing the input
config File
MetExtractorConfigReaderException
- If any error occursCopyright © 1999–2017 Apache OODT. All rights reserved.