public class MimeTypeExtractor extends AbstractFilemgrMetExtractor
An example FilemgrMetExtractor
to extract out a Product's
Mime Type.
configuration
Constructor and Description |
---|
MimeTypeExtractor() |
Modifier and Type | Method and Description |
---|---|
void |
doConfigure() |
Metadata |
doExtract(Product product,
Metadata met) |
addMetadataIfUndefined, configure, extractMetadata, getProductFile, getRootRefPath, merge, validateProduct
public void doConfigure()
doConfigure
in class AbstractFilemgrMetExtractor
public Metadata doExtract(Product product, Metadata met) throws MetExtractionException
doExtract
in class AbstractFilemgrMetExtractor
MetExtractionException
Copyright © 1999-2015 Apache OODT. All Rights Reserved.