public class MetReaderExtractor extends CmdLineMetExtractor
A Met Extractor that assumes that the .met file has already been generated.
This extractor assumes the presence of the first parameter in
AbstractMetExtractor.extractMetadata(File, File)
, File.getAbsolutePath()+".met"
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_MET_FILE_EXT |
protected static MetReaderConfigReader |
reader |
config, LOG
Constructor and Description |
---|
MetReaderExtractor()
Default Constructor
|
MetReaderExtractor(String metFileExt)
Constructs a new MetReaderExtractor that looks for met files with the
given
metFileExt . |
Modifier and Type | Method and Description |
---|---|
Metadata |
extrMetadata(File file)
|
static void |
main(String[] args) |
processMain, processMain
extractMetadata, extractMetadata, extractMetadata, extractMetadata, extractMetadata, extractMetadata, extractMetadata, setConfigFile, setConfigFile, setConfigFile
public static final String DEFAULT_MET_FILE_EXT
protected static MetReaderConfigReader reader
public MetReaderExtractor()
public MetReaderExtractor(String metFileExt)
metFileExt
.metFileExt
- The met file extension.public Metadata extrMetadata(File file) throws MetExtractionException
AbstractMetExtractor
extrMetadata
in class AbstractMetExtractor
file
- The File
from which Metadata
will be extractedMetadata
extractedMetExtractionException
- If any error occursCopyright © 1999–2017 Apache OODT. All rights reserved.