org.pentaho.reporting.libraries.resourceloader.modules.factory.imageio
Class ImageIOFactoryModule

java.lang.Object
  extended by org.pentaho.reporting.libraries.resourceloader.factory.AbstractFactoryModule
      extended by org.pentaho.reporting.libraries.resourceloader.modules.factory.imageio.ImageIOFactoryModule
All Implemented Interfaces:
FactoryModule

public class ImageIOFactoryModule
extends AbstractFactoryModule


Field Summary
 
Fields inherited from interface org.pentaho.reporting.libraries.resourceloader.factory.FactoryModule
FEELING_LUCKY, RECOGNIZED_CONTENTTYPE, RECOGNIZED_FILE, RECOGNIZED_FINGERPRINT, REJECTED
 
Constructor Summary
ImageIOFactoryModule()
           
 
Method Summary
 int canHandleResource(ResourceManager caller, ResourceData data)
           
 Resource create(ResourceManager caller, ResourceData data, ResourceKey context)
           
 int getHeaderFingerprintSize()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageIOFactoryModule

public ImageIOFactoryModule()
Method Detail

canHandleResource

public int canHandleResource(ResourceManager caller,
                             ResourceData data)
                      throws ResourceCreationException,
                             ResourceLoadingException
Specified by:
canHandleResource in interface FactoryModule
Overrides:
canHandleResource in class AbstractFactoryModule
Throws:
ResourceCreationException
ResourceLoadingException

create

public Resource create(ResourceManager caller,
                       ResourceData data,
                       ResourceKey context)
                throws ResourceCreationException,
                       ResourceLoadingException
Throws:
ResourceCreationException
ResourceLoadingException

getHeaderFingerprintSize

public int getHeaderFingerprintSize()
Specified by:
getHeaderFingerprintSize in interface FactoryModule
Overrides:
getHeaderFingerprintSize in class AbstractFactoryModule