christophedelory.content
Class ImageMetadataProvider
java.lang.Object
christophedelory.content.ImageMetadataProvider
- All Implemented Interfaces:
- ContentMetadataProvider
public class ImageMetadataProvider
- extends Object
- implements ContentMetadataProvider
A content metadata provider based on a AWT BufferedImage
.
GIF, PNG, JPEG, BMP, and WBMP formats are supported.
- Since:
- 1.0.0
- Version:
- $Revision: 90 $
- Author:
- Christophe Delory
Method Summary |
void |
fillMetadata(Content content,
Log logger)
Fills if possible the metadata of the specified content. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageMetadataProvider
public ImageMetadataProvider()
fillMetadata
public void fillMetadata(Content content,
Log logger)
throws Exception
- Description copied from interface:
ContentMetadataProvider
- Fills if possible the metadata of the specified content.
- Specified by:
fillMetadata
in interface ContentMetadataProvider
- Parameters:
content
- a content. Shall not be null
.logger
- the logger that may be used during the metadata extraction process, if needed. Shall not be null
.
- Throws:
NullPointerException
- if content
is null
.
Exception
- if any error occurs.- See Also:
ContentMetadataCenter.fillMetadata(christophedelory.content.Content)
Copyright © 2008-2009 Christophe Delory. All Rights Reserved.