org.pentaho.reporting.libraries.resourceloader.modules.factory.wmf
Class WrapperWMFDrawableFactoryModule

java.lang.Object
  extended by org.pentaho.reporting.libraries.resourceloader.modules.factory.wmf.WrapperWMFDrawableFactoryModule
All Implemented Interfaces:
FactoryModule

public class WrapperWMFDrawableFactoryModule
extends Object
implements FactoryModule

Todo: Document Me

Author:
Thomas Morgner

Field Summary
 
Fields inherited from interface org.pentaho.reporting.libraries.resourceloader.factory.FactoryModule
FEELING_LUCKY, RECOGNIZED_CONTENTTYPE, RECOGNIZED_FILE, RECOGNIZED_FINGERPRINT, REJECTED
 
Constructor Summary
WrapperWMFDrawableFactoryModule()
           
 
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

WrapperWMFDrawableFactoryModule

public WrapperWMFDrawableFactoryModule()
Method Detail

canHandleResource

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

getHeaderFingerprintSize

public int getHeaderFingerprintSize()
Specified by:
getHeaderFingerprintSize in interface FactoryModule

create

public Resource create(ResourceManager caller,
                       ResourceData data,
                       ResourceKey context)
                throws ResourceCreationException,
                       ResourceLoadingException
Specified by:
create in interface FactoryModule
Throws:
ResourceCreationException
ResourceLoadingException