org.pentaho.reporting.libraries.resourceloader.factory.image
public class PNGImageFactoryModule extends AbstractFactoryModule
FEELING_LUCKY, RECOGNIZED_CONTENTTYPE, RECOGNIZED_FILE, RECOGNIZED_FINGERPRINT, REJECTED
Constructor and Description |
---|
PNGImageFactoryModule() |
Modifier and Type | Method and Description |
---|---|
Resource |
create(ResourceManager caller,
ResourceData data,
ResourceKey context) |
protected java.lang.String[] |
getFileExtensions() |
protected int[] |
getFingerPrint() |
int |
getHeaderFingerprintSize() |
protected java.lang.String[] |
getMimeTypes() |
canHandleResource, canHandleResourceByContent, canHandleResourceByMimeType, canHandleResourceByName
public int getHeaderFingerprintSize()
getHeaderFingerprintSize
in interface FactoryModule
getHeaderFingerprintSize
in class AbstractFactoryModule
protected int[] getFingerPrint()
getFingerPrint
in class AbstractFactoryModule
protected java.lang.String[] getMimeTypes()
getMimeTypes
in class AbstractFactoryModule
protected java.lang.String[] getFileExtensions()
getFileExtensions
in class AbstractFactoryModule
public Resource create(ResourceManager caller, ResourceData data, ResourceKey context) throws ResourceLoadingException
ResourceLoadingException