org.pentaho.reporting.libraries.resourceloader.modules.factory.imageio
public class ImageIOFactoryModule extends AbstractFactoryModule
FEELING_LUCKY, RECOGNIZED_CONTENTTYPE, RECOGNIZED_FILE, RECOGNIZED_FINGERPRINT, REJECTED| Constructor and Description |
|---|
ImageIOFactoryModule() |
| Modifier and Type | Method and Description |
|---|---|
int |
canHandleResource(ResourceManager caller,
ResourceData data) |
Resource |
create(ResourceManager caller,
ResourceData data,
ResourceKey context) |
protected java.lang.String[] |
getFileExtensions() |
protected int[] |
getFingerPrint() |
int |
getHeaderFingerprintSize() |
protected java.lang.String[] |
getMimeTypes() |
canHandleResourceByContent, canHandleResourceByMimeType, canHandleResourceByNamepublic int canHandleResource(ResourceManager caller, ResourceData data) throws ResourceCreationException, ResourceLoadingException
canHandleResource in interface FactoryModulecanHandleResource in class AbstractFactoryModuleResourceCreationExceptionResourceLoadingExceptionpublic Resource create(ResourceManager caller, ResourceData data, ResourceKey context) throws ResourceCreationException, ResourceLoadingException
protected java.lang.String[] getMimeTypes()
getMimeTypes in class AbstractFactoryModuleprotected java.lang.String[] getFileExtensions()
getFileExtensions in class AbstractFactoryModuleprotected int[] getFingerPrint()
getFingerPrint in class AbstractFactoryModulepublic int getHeaderFingerprintSize()
getHeaderFingerprintSize in interface FactoryModulegetHeaderFingerprintSize in class AbstractFactoryModule