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

java.lang.Object
  extended by 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

Constructor Summary
FilenameTokenConfig()
           
FilenameTokenConfig(PGEConfigurationFile conf)
           
 
Method Summary
 Metadata getCommonMet()
           
 PGEConfigurationFile getConf()
           
 SimpleDateFormat getDateFormatter()
           
 Metadata getSubstringOffsetMet(File file)
           
 String getTokenDelimeterScalar()
           
 List<String> getTokenMetKeyNames()
           
 boolean hasTokenNameList()
           
 void setConf(PGEConfigurationFile conf)
           
 void setConfig(String confFilePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilenameTokenConfig

public FilenameTokenConfig()

FilenameTokenConfig

public FilenameTokenConfig(PGEConfigurationFile conf)
Method Detail

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-2013
Apache OODT. All Rights Reserved.