magoffin.matt.meta.image
Class PNGMetadataResourceFactory

java.lang.Object
  extended by magoffin.matt.meta.image.PNGMetadataResourceFactory
All Implemented Interfaces:
MetadataResourceFactory

public class PNGMetadataResourceFactory
extends java.lang.Object
implements MetadataResourceFactory

MetadataResourceFactory for PNG metadata.

Version:
$Revision: 3 $ $Date: 2008-12-27 08:09:28 +1300 (Sat, 27 Dec 2008) $
Author:
Matt Magoffin (spamsqr@msqr.us)

Constructor Summary
PNGMetadataResourceFactory()
           
 
Method Summary
 MetadataResource getMetadataResourceInstance(java.io.File file)
          Get a MetadataResource for a given file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PNGMetadataResourceFactory

public PNGMetadataResourceFactory()
Method Detail

getMetadataResourceInstance

public MetadataResource getMetadataResourceInstance(java.io.File file)
                                             throws java.io.IOException,
                                                    MetadataNotSupportedException
Description copied from interface: MetadataResourceFactory
Get a MetadataResource for a given file.

Specified by:
getMetadataResourceInstance in interface MetadataResourceFactory
Parameters:
file - the file
Returns:
the MetadataResource
Throws:
java.io.IOException - if an IO error occurs
MetadataNotSupportedException - if the file is not supported for any reason