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, canHandleResourceByNamepublic int getHeaderFingerprintSize()
getHeaderFingerprintSize in interface FactoryModulegetHeaderFingerprintSize in class AbstractFactoryModuleprotected boolean canHandleResourceByContent(java.io.InputStream data)
throws java.io.IOException
canHandleResourceByContent in class AbstractFactoryModulejava.io.IOExceptionprotected int[] getFingerPrint()
getFingerPrint in class AbstractFactoryModuleprotected java.lang.String[] getMimeTypes()
getMimeTypes in class AbstractFactoryModuleprotected java.lang.String[] getFileExtensions()
getFileExtensions in class AbstractFactoryModulepublic Resource create(ResourceManager caller, ResourceData data, ResourceKey context) throws ResourceLoadingException
ResourceLoadingException