org.apache.oodt.cas.metadata.extractors
Class ExternMetExtractor
java.lang.Object
org.apache.oodt.cas.metadata.AbstractMetExtractor
org.apache.oodt.cas.metadata.extractors.CmdLineMetExtractor
org.apache.oodt.cas.metadata.extractors.ExternMetExtractor
- All Implemented Interfaces:
- ExternMetExtractorMetKeys, MetExtractor
public class ExternMetExtractor
- extends CmdLineMetExtractor
- implements ExternMetExtractorMetKeys
- Version:
- $Revision$
Runs an external MetExtractor that is a command line program to
extract Metadata from Product files.
.
- Author:
- mattmann, bfoster
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternMetExtractor
public ExternMetExtractor()
throws InstantiationException
- Throws:
InstantiationException
extrMetadata
public Metadata extrMetadata(File file)
throws MetExtractionException
- Description copied from class:
AbstractMetExtractor
- Extracts
Metadata from the given File
- Specified by:
extrMetadata in class AbstractMetExtractor
- Parameters:
file - The File from which Metadata will be extracted
- Returns:
- The
Metadata extracted
- Throws:
MetExtractionException - If any error occurs
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 1999-2011 Apache Incubator. All Rights Reserved.