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

java.lang.Object
  extended by org.apache.oodt.cas.metadata.AbstractMetExtractor
      extended by org.apache.oodt.cas.metadata.extractors.CmdLineMetExtractor
All Implemented Interfaces:
MetExtractor
Direct Known Subclasses:
CopyAndRewriteExtractor, ExternMetExtractor, FilenameTokenMetExtractor, MetReaderExtractor

public abstract class CmdLineMetExtractor
extends AbstractMetExtractor

Version:
$Revision$

Metadata extraction interface for standalone met extractors that have the following command line interface:
/path/to/met_extractor <file> <config file>

.
Author:
mattmann

Field Summary
 
Fields inherited from class org.apache.oodt.cas.metadata.AbstractMetExtractor
config, LOG, reader
 
Constructor Summary
CmdLineMetExtractor(MetExtractorConfigReader reader)
           
 
Method Summary
protected static void processMain(String[] args, CmdLineMetExtractor extractor)
           
protected static void processMain(String[] args, CmdLineMetExtractor extractor, OutputStream os)
           
 
Methods inherited from class org.apache.oodt.cas.metadata.AbstractMetExtractor
extractMetadata, extractMetadata, extractMetadata, extractMetadata, extractMetadata, extractMetadata, extractMetadata, extrMetadata, setConfigFile, setConfigFile, setConfigFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmdLineMetExtractor

public CmdLineMetExtractor(MetExtractorConfigReader reader)
Method Detail

processMain

protected static void processMain(String[] args,
                                  CmdLineMetExtractor extractor)
                           throws Exception
Throws:
Exception

processMain

protected static void processMain(String[] args,
                                  CmdLineMetExtractor extractor,
                                  OutputStream os)
                           throws Exception
Throws:
Exception


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