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