org.apache.oodt.cas.metadata.extractors
Class FilenameTokenConfig
java.lang.Object
org.apache.oodt.cas.metadata.extractors.FilenameTokenConfig
- All Implemented Interfaces:
- MetExtractorConfig
public class FilenameTokenConfig
- extends Object
- implements MetExtractorConfig
Wraps a PGEConfigurationFile as a MetExtractorConfig.
- Version:
- $Revision$
- Author:
- mattmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilenameTokenConfig
public FilenameTokenConfig()
FilenameTokenConfig
public FilenameTokenConfig(PGEConfigurationFile conf)
setConfig
public void setConfig(String confFilePath)
throws FileNotFoundException,
PGEConfigFileException
- Throws:
FileNotFoundException
PGEConfigFileException
getDateFormatter
public SimpleDateFormat getDateFormatter()
hasTokenNameList
public boolean hasTokenNameList()
getTokenDelimeterScalar
public String getTokenDelimeterScalar()
getTokenMetKeyNames
public List<String> getTokenMetKeyNames()
getSubstringOffsetMet
public Metadata getSubstringOffsetMet(File file)
getCommonMet
public Metadata getCommonMet()
getConf
public PGEConfigurationFile getConf()
- Returns:
- the conf
setConf
public void setConf(PGEConfigurationFile conf)
- Parameters:
conf - the conf to set
Copyright © 1999-2012 Apache OODT. All Rights Reserved.