org.apache.oodt.cas.filemgr.metadata.extractors.examples
Class FinalFileLocationExtractor

java.lang.Object
  extended by org.apache.oodt.cas.filemgr.metadata.extractors.AbstractFilemgrMetExtractor
      extended by org.apache.oodt.cas.filemgr.metadata.extractors.examples.FinalFileLocationExtractor
All Implemented Interfaces:
CoreMetKeys, FilemgrMetExtractor

public class FinalFileLocationExtractor
extends AbstractFilemgrMetExtractor
implements CoreMetKeys

Extracts the final FILE_LOCATION met field from the underlying Product and sets it appropriately in the Product Metadata.


Field Summary
 
Fields inherited from class org.apache.oodt.cas.filemgr.metadata.extractors.AbstractFilemgrMetExtractor
configuration
 
Fields inherited from interface org.apache.oodt.cas.filemgr.metadata.CoreMetKeys
FILE_LOCATION, FILENAME, MIME_TYPE, PRODUCT_ID, PRODUCT_NAME, PRODUCT_RECEVIED_TIME, PRODUCT_STRUCTURE, PRODUCT_TYPE
 
Constructor Summary
FinalFileLocationExtractor()
           
 
Method Summary
 void doConfigure()
           
 org.apache.oodt.cas.metadata.Metadata doExtract(Product product, org.apache.oodt.cas.metadata.Metadata met)
           
 
Methods inherited from class org.apache.oodt.cas.filemgr.metadata.extractors.AbstractFilemgrMetExtractor
addMetadataIfUndefined, configure, extractMetadata, getProductFile, getRootRefPath, merge, validateProduct
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FinalFileLocationExtractor

public FinalFileLocationExtractor()
Method Detail

doConfigure

public void doConfigure()
Specified by:
doConfigure in class AbstractFilemgrMetExtractor

doExtract

public org.apache.oodt.cas.metadata.Metadata doExtract(Product product,
                                                       org.apache.oodt.cas.metadata.Metadata met)
                                                throws org.apache.oodt.cas.metadata.exceptions.MetExtractionException
Specified by:
doExtract in class AbstractFilemgrMetExtractor
Throws:
org.apache.oodt.cas.metadata.exceptions.MetExtractionException


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