|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceBundleLoader
A resource bundle is a compound archive that holds several resources.
Method Summary | |
---|---|
ResourceKey |
deriveKey(ResourceKey parent,
java.lang.String path,
java.util.Map factoryKeys)
Derives a new resource key from the given key. |
boolean |
isSupportedKey(ResourceKey key)
Checks, whether this resource loader implementation was responsible for creating this key. |
ResourceBundleData |
loadBundle(ResourceManager resourceManager,
ResourceKey key)
Tries to load the bundle. |
Method Detail |
---|
ResourceBundleData loadBundle(ResourceManager resourceManager, ResourceKey key) throws ResourceLoadingException
key
- the resource key pointing to the bundle.
ResourceLoadingException
- if something goes wrong.boolean isSupportedKey(ResourceKey key)
key
- the key that should be tested.
ResourceKey deriveKey(ResourceKey parent, java.lang.String path, java.util.Map factoryKeys) throws ResourceKeyCreationException
parent
- the parentpath
- the derived path (can be null).factoryKeys
- the optional factory keys (can be null).
ResourceKeyCreationException
- if the key cannot be derived for any
reason.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |