Lizzy v1.1.1

christophedelory.content
Class ImageMetadataProvider

java.lang.Object
  extended by 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

Constructor Summary
ImageMetadataProvider()
           
 
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
 

Constructor Detail

ImageMetadataProvider

public ImageMetadataProvider()
Method Detail

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)

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.