org.apache.oodt.cas.metadata.extractors
Class ParentKeyDataSourceMetExtractor
java.lang.Object
org.apache.oodt.cas.metadata.AbstractMetExtractor
org.apache.oodt.cas.metadata.extractors.DataSourceMetExtractor
org.apache.oodt.cas.metadata.extractors.ParentKeyDataSourceMetExtractor
- All Implemented Interfaces:
- MetExtractor
public class ParentKeyDataSourceMetExtractor
- extends DataSourceMetExtractor
Supports data source key look via parent key if files key is no good.
Expected file name:
-.
- Author:
- bfoster@apache.com (Brian Foster)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParentKeyDataSourceMetExtractor
public ParentKeyDataSourceMetExtractor()
extrMetadata
protected Metadata extrMetadata(File file)
throws MetExtractionException
- Description copied from class:
AbstractMetExtractor
- Extracts
Metadata from the given File
- Overrides:
extrMetadata in class DataSourceMetExtractor
- Parameters:
file - The File from which Metadata will be extracted
- Returns:
- The
Metadata extracted
- Throws:
MetExtractionException - If any error occurs
getKey
protected String getKey(File file)
- Overrides:
getKey in class DataSourceMetExtractor
Copyright © 1999-2014 Apache OODT. All Rights Reserved.