public class TikaCmdLineMetExtractor extends CmdLineMetExtractor
A Met Extractor that invokes Apache Tika to automatically detect relevant metadata for a given product.
.To use this extractor, a met extractor config file must be referenced. This can take the form of a Java properties file that includes, at a minimum, the 'ProductType=...' metadata key specified.
| Modifier and Type | Field and Description |
|---|---|
protected static MetReaderConfigReader |
reader |
config| Constructor and Description |
|---|
TikaCmdLineMetExtractor() |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
extrMetadata(File file)
|
static void |
main(String[] args) |
processMain, processMainextractMetadata, extractMetadata, extractMetadata, extractMetadata, extractMetadata, extractMetadata, extractMetadata, setConfigFile, setConfigFile, setConfigFileprotected static MetReaderConfigReader reader
public Metadata extrMetadata(File file) throws MetExtractionException
AbstractMetExtractorextrMetadata in class AbstractMetExtractorfile - The File from which Metadata will be extractedMetadata extractedMetExtractionException - If any error occursCopyright © 1999–2017 Apache OODT. All rights reserved.