org.apache.oodt.cas.metadata.extractors
Class ExternConfigReader

java.lang.Object
  extended by org.apache.oodt.cas.metadata.extractors.ExternConfigReader
All Implemented Interfaces:
ExternConfigReaderMetKeys, ExternMetExtractorMetKeys, MetExtractorConfigReader

public final class ExternConfigReader
extends Object
implements MetExtractorConfigReader, ExternMetExtractorMetKeys, ExternConfigReaderMetKeys

Version:
$Revision$

Reader that reads ExternalMetExtractorConfigs from an XML file.

.
Author:
mattmann, bfoster

Field Summary
 
Fields inherited from interface org.apache.oodt.cas.metadata.extractors.ExternMetExtractorMetKeys
DATA_FILE_PLACE_HOLDER, DEFAULT_MET_FILE_EXTENSION, MET_FILE_PLACE_HOLDER
 
Fields inherited from interface org.apache.oodt.cas.metadata.extractors.ExternConfigReaderMetKeys
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 Summary
ExternConfigReader()
           
 
Method Summary
 MetExtractorConfig parseConfigFile(File file)
          Parses a config File into a MetExtractorConfig obj
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternConfigReader

public ExternConfigReader()
Method Detail

parseConfigFile

public MetExtractorConfig parseConfigFile(File file)
                                   throws MetExtractorConfigReaderException
Description copied from interface: MetExtractorConfigReader
Parses a config File into a MetExtractorConfig obj

Specified by:
parseConfigFile in interface MetExtractorConfigReader
Parameters:
file - The config File to be parsed
Returns:
The MetExtractorConfig obj created by parsing the input config File
Throws:
MetExtractorConfigReaderException - If any error occurs


Copyright © 1999-2011 Apache Incubator. All Rights Reserved.