|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MetExtractor
An interface for Metadata extraction. This interface expects the
definition of the following two parameters:
Metadata from.| Method Summary | |
|---|---|
Metadata |
extractMetadata(File f)
Extracts Metadata from a given File. |
Metadata |
extractMetadata(File f,
File configFile)
Extracts Metadata from the given File using the specified
config file. |
Metadata |
extractMetadata(File f,
MetExtractorConfig config)
Extracts Metadata from the given File using the specified
MetExtractorConfig. |
Metadata |
extractMetadata(File f,
String configFilePath)
Extracts Metadata from the given File using the specified
config file path. |
Metadata |
extractMetadata(String filePath)
Extracts Metadata from a given /path/to/some/file. |
Metadata |
extractMetadata(URL fileUrl)
Extracts Metadata from a given URL pointer to a
File. |
Metadata |
extractMetadata(URL fileUrl,
MetExtractorConfig config)
Extracts Metadata from the given URL using the specified
MetExtractorConfig. |
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. |
| Method Detail |
|---|
Metadata extractMetadata(File f)
throws MetExtractionException
Metadata from a given File.
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
Metadata from a given URL pointer to a
File.
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.
MetExtractionExceptionvoid setConfigFile(MetExtractorConfig config)
config - The MetExtractorConfig
Metadata extractMetadata(File f,
File configFile)
throws MetExtractionException
Metadata from the given File using the specified
config file.
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
Metadata from the given File using the specified
config file path.
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
Metadata from the given File using the specified
MetExtractorConfig.
f - The File from which Metadata will be extracted
fromconfig - The config file for the extractor
Metadata extracted from the File
MetExtractionException - If any error occurs
Metadata extractMetadata(URL fileUrl,
MetExtractorConfig config)
throws MetExtractionException
Metadata from the given URL using the specified
MetExtractorConfig.
fileUrl - The URL from which Metadata will be extracted
fromconfig - The config file for the extractor
Metadata extracted from the URL
MetExtractionException - If any error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||