|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceFactory
Creation-Date: 05.04.2006, 12:52:32
Field Summary | |
---|---|
static java.lang.String |
CONFIG_PREFIX
|
Method Summary | |
---|---|
Resource |
create(ResourceManager manager,
ResourceData data,
ResourceKey context)
Creates a resource by interpreting the data given in the resource-data object. |
java.lang.Class |
getFactoryType()
Returns the expected result type. |
void |
initializeDefaults()
Initializes the resource factory. |
Field Detail |
---|
static final java.lang.String CONFIG_PREFIX
Method Detail |
---|
Resource create(ResourceManager manager, ResourceData data, ResourceKey context) throws ResourceCreationException, ResourceLoadingException
manager
- the resource manager used for all resource loading.data
- the resource-data from where the binary data is read.context
- the resource context used to resolve relative resource paths.
ResourceCreationException
- if the resource could not be parsed due to syntaxctial or logical errors in the data.
ResourceLoadingException
- if the resource could not be accessed from the physical storage.java.lang.Class getFactoryType()
void initializeDefaults()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |