|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
MetadataImage | Metadata type for an image. |
MetadataResource | Generic metadata extraction API. |
MetadataResourceFactory | Factory API for creating MetadataResource instances. |
Class Summary | |
---|---|
MetadataResourceFactoryManager | A simple manager of MetadataResourceFactory instances. |
Exception Summary | |
---|---|
MetadataConfigurationException | Exception thrown when configuration errors occur. |
MetadataNotSupportedException | Exception thrown when configuration errors occur. |
sMeta: simple metadata API for Java
The sMeta library provides a simple way to extract metadata from various
file types. To start, look to the MetadataResourceFactoryManager
class. This is the main entry point to the library, and provides a way to
look up MetadataResourceFactory
instances that are capable of
instantiating MetadataResource
instances for extracting the
actual metadata.
In general, the steps for extracting metadata for a given file are thus:
MetadataResourceFactoryManager
via
MetadataResourceFactoryManager.getDefaultManagerInstance()
.MetadataResourceFactory
for
your file via
MetadataResourceFactoryManager.getMetadataResourceFactory(java.io.File)
MetadataResource
for this file via MetadataResourceFactory.getMetadataResourceInstance(java.io.File)
.MetadataResource
interface.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |