Interface FactoryModule
-
- All Known Implementing Classes:
AbstractFactoryModule,GIFImageFactoryModule,ImageIOFactoryModule,JPEGImageFactoryModule,PNGImageFactoryModule
public interface FactoryModuleCreation-Date: 05.04.2006, 17:00:33- Author:
- Thomas Morgner
-
-
Field Summary
Fields Modifier and Type Field Description static intFEELING_LUCKYA default handler does not reject the content.static intRECOGNIZED_CONTENTTYPEstatic intRECOGNIZED_FILEstatic intRECOGNIZED_FINGERPRINTstatic intREJECTED
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcanHandleResource(ResourceManager caller, ResourceData data)Resourcecreate(ResourceManager caller, ResourceData data, ResourceKey context)intgetHeaderFingerprintSize()
-
-
-
Field Detail
-
RECOGNIZED_FINGERPRINT
static final int RECOGNIZED_FINGERPRINT
- See Also:
- Constant Field Values
-
RECOGNIZED_CONTENTTYPE
static final int RECOGNIZED_CONTENTTYPE
- See Also:
- Constant Field Values
-
RECOGNIZED_FILE
static final int RECOGNIZED_FILE
- See Also:
- Constant Field Values
-
FEELING_LUCKY
static final int FEELING_LUCKY
A default handler does not reject the content.- See Also:
- Constant Field Values
-
REJECTED
static final int REJECTED
- See Also:
- Constant Field Values
-
-
Method Detail
-
canHandleResource
int canHandleResource(ResourceManager caller, ResourceData data) throws ResourceCreationException, ResourceLoadingException
-
getHeaderFingerprintSize
int getHeaderFingerprintSize()
-
create
Resource create(ResourceManager caller, ResourceData data, ResourceKey context) throws ResourceCreationException, ResourceLoadingException
-
-