org.pentaho.reporting.libraries.resourceloader.factory
Class AbstractFactoryModule
java.lang.Object
org.pentaho.reporting.libraries.resourceloader.factory.AbstractFactoryModule
- All Implemented Interfaces:
- FactoryModule
- Direct Known Subclasses:
- AbstractSVGFactoryModule, AbstractWMFFactoryModule, GIFImageFactoryModule, ImageIOFactoryModule, JPEGImageFactoryModule, PNGImageFactoryModule
public abstract class AbstractFactoryModule
- extends java.lang.Object
- implements FactoryModule
Creation-Date: 05.04.2006, 17:44:42
- Author:
- Thomas Morgner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.pentaho.reporting.libraries.resourceloader.factory.FactoryModule |
create |
AbstractFactoryModule
protected AbstractFactoryModule()
getFingerPrint
protected abstract int[] getFingerPrint()
getMimeTypes
protected abstract java.lang.String[] getMimeTypes()
getFileExtensions
protected abstract java.lang.String[] getFileExtensions()
getHeaderFingerprintSize
public int getHeaderFingerprintSize()
- Specified by:
getHeaderFingerprintSize
in interface FactoryModule
canHandleResource
public int canHandleResource(ResourceManager caller,
ResourceData data)
throws ResourceCreationException,
ResourceLoadingException
- Specified by:
canHandleResource
in interface FactoryModule
- Throws:
ResourceCreationException
ResourceLoadingException
canHandleResourceByContent
protected boolean canHandleResourceByContent(java.io.InputStream data)
throws java.io.IOException
- Throws:
java.io.IOException
canHandleResourceByMimeType
protected boolean canHandleResourceByMimeType(java.lang.String name)
canHandleResourceByName
protected boolean canHandleResourceByName(java.lang.String name)