public interface MetExtractor
Modifier and Type | Method and Description |
---|---|
Metadata |
extractMetadata(File f)
|
Metadata |
extractMetadata(File f,
File configFile)
|
Metadata |
extractMetadata(File f,
MetExtractorConfig config)
|
Metadata |
extractMetadata(File f,
String configFilePath)
|
Metadata |
extractMetadata(String filePath)
Extracts
Metadata from a given /path/to/some/file . |
Metadata |
extractMetadata(URL fileUrl)
|
Metadata |
extractMetadata(URL fileUrl,
MetExtractorConfig config)
|
void |
setConfigFile(File f)
Sets the config file for this MetExtractor to the specified
File
f . |
void |
setConfigFile(MetExtractorConfig config)
Sets the MetExtractorConfig for the MetExtractor
|
void |
setConfigFile(String filePath)
Sets the config file for this MetExtractor to the specified
File
identified by filePath . |
Metadata extractMetadata(File f) throws MetExtractionException
f
- File object to extract Metadata from.Metadata
from the given File
.MetExtractionException
- If any error occurs.Metadata extractMetadata(String filePath) throws MetExtractionException
Metadata
from a given /path/to/some/file
.filePath
- Path to a given file to extract Metadata from.Metadata
from the given filePath
.MetExtractionException
- If any error occurs.Metadata extractMetadata(URL fileUrl) throws MetExtractionException
fileUrl
- The URL pointer to a File.Metadata
from the given File URL
.MetExtractionException
- If any error occurs.void setConfigFile(File f) throws MetExtractionException
File
f
.f
- The config file for this MetExtractor.MetExtractionException
void setConfigFile(String filePath) throws MetExtractionException
File
identified by filePath
.filePath
- The config file path for this MetExtractor.MetExtractionException
void setConfigFile(MetExtractorConfig config)
config
- The MetExtractorConfigMetadata extractMetadata(File f, File configFile) throws MetExtractionException
f
- The File to extract Metadata from.configFile
- The config file for this MetExtractor.Metadata
from the given File
using the
specified config file.MetExtractionException
- If any error occurs.Metadata extractMetadata(File f, String configFilePath) throws MetExtractionException
f
- The File to extract Metadata from.configFilePath
- The path to the config file for this MetExtractor.Metadata
from the given File
using the
specified config file path.MetExtractionException
- If any error occurs.Metadata extractMetadata(File f, MetExtractorConfig config) throws MetExtractionException
f
- The File
from which Metadata
will be extracted
fromconfig
- The config file for the extractorMetadata
extracted from the File
MetExtractionException
- If any error occursMetadata extractMetadata(URL fileUrl, MetExtractorConfig config) throws MetExtractionException
fileUrl
- The URL
from which Metadata
will be extracted
fromconfig
- The config file for the extractorMetadata
extracted from the URL
MetExtractionException
- If any error occursCopyright © 1999–2017 Apache OODT. All rights reserved.