org.pentaho.reporting.libraries.resourceloader.factory

Interface FactoryModule

public interface FactoryModule

Creation-Date: 05.04.2006, 17:00:33

Author: Thomas Morgner

Field Summary
static intFEELING_LUCKY
A default handler does not reject the content.
static intRECOGNIZED_CONTENTTYPE
static intRECOGNIZED_FILE
static intRECOGNIZED_FINGERPRINT
static intREJECTED
Method Summary
intcanHandleResource(ResourceManager caller, ResourceData data)
Resourcecreate(ResourceManager caller, ResourceData data, ResourceKey context)
intgetHeaderFingerprintSize()

Field Detail

FEELING_LUCKY

public static final int FEELING_LUCKY
A default handler does not reject the content.

RECOGNIZED_CONTENTTYPE

public static final int RECOGNIZED_CONTENTTYPE

RECOGNIZED_FILE

public static final int RECOGNIZED_FILE

RECOGNIZED_FINGERPRINT

public static final int RECOGNIZED_FINGERPRINT

REJECTED

public static final int REJECTED

Method Detail

canHandleResource

public int canHandleResource(ResourceManager caller, ResourceData data)

create

public Resource create(ResourceManager caller, ResourceData data, ResourceKey context)

getHeaderFingerprintSize

public int getHeaderFingerprintSize()