Modifier and Type | Method and Description |
---|---|
Resource |
ResourceManager.createDirectly(Object keyValue,
Class target) |
ResourceKey |
ResourceManager.createKey(Object data)
Creates a ResourceKey that carries no Loader-Parameters from the given object.
|
ResourceKey |
ResourceManagerBackend.createKey(Object data,
Map parameters) |
ResourceKey |
ResourceManager.createKey(Object data,
Map parameters)
Creates a ResourceKey that carries the given Loader-Parameters contained in the optional map.
|
ResourceKey |
DefaultResourceManagerBackend.createKey(Object data,
Map parameters) |
ResourceKey |
ResourceLoader.createKey(Object value,
Map factoryKeys)
Creates a new resource key from the given object and the factory keys.
|
ResourceKey |
ResourceManager.deriveKey(ResourceKey parent,
String path)
Derives a new key from the given resource-key.
|
ResourceKey |
ResourceManagerBackend.deriveKey(ResourceKey parent,
String path,
Map parameters) |
ResourceKey |
ResourceManager.deriveKey(ResourceKey parent,
String path,
Map parameters)
Derives a new key from the given resource-key.
|
ResourceKey |
DefaultResourceManagerBackend.deriveKey(ResourceKey parent,
String path,
Map parameters)
Derives a new key from the given resource-key.
|
ResourceKey |
ResourceBundleLoader.deriveKey(ResourceKey parent,
String path,
Map factoryKeys)
Derives a new resource key from the given key.
|
ResourceKey |
ResourceLoader.deriveKey(ResourceKey parent,
String path,
Map factoryKeys)
Derives a new resource key from the given key.
|
ResourceKey |
ResourceManagerBackend.deserialize(ResourceKey bundleKey,
String serializedKey) |
ResourceKey |
ResourceManager.deserialize(ResourceKey bundleKey,
String serializedKey)
Converts a serialized version of a
ResourceKey into an actual ResourceKey
by locating the proper ResourceLoader that can perform the deserialization. |
ResourceKey |
DefaultResourceManagerBackend.deserialize(ResourceKey bundleKey,
String serializedKey)
Converts a serialized version of a
ResourceKey into an actual ResourceKey
by locating the proper ResourceLoader that can perform the deserialization. |
ResourceKey |
ResourceBundleLoader.deserialize(ResourceKey bundleKey,
String stringKey)
Creates a
ResourceKey based off the String representation
of the key. |
ResourceKey |
ResourceLoader.deserialize(ResourceKey bundleKey,
String stringKey)
Creates a
ResourceKey based off the String representation
of the key. |
static ResourceKey |
ResourceKeyUtils.embedResourceInKey(ResourceManager manager,
ResourceKey source,
Map factoryParameters)
Returns a new ResourceKey with the specified source resource embedded inside as a byte []
|
boolean |
ResourceBundleLoader.isSupportedDeserializer(String data) |
static ResourceKeyData |
ResourceKeyUtils.parse(String resourceKeyString)
Parses the string version of the Resource Key into the components
|
static ResourceKey |
ResourceKeyUtils.toResourceKey(Object value,
ResourceManager resourceManager,
ResourceKey contextKey,
Map parameters)
Performs a simple attempt at a "smart" conversion to a ResourceKey.
|
Modifier and Type | Method and Description |
---|---|
ResourceKey |
URLResourceLoader.createKey(Object value,
Map factoryKeys)
Creates a new resource key from the given object and the factory keys.
|
ResourceKey |
URLResourceLoader.deriveKey(ResourceKey parent,
String path,
Map factoryKeys)
Derives a new resource key from the given key.
|
ResourceKey |
URLResourceLoader.deserialize(ResourceKey bundleKey,
String stringKey)
Parses the input string and returns a newly created ResourceKey based on the string data
|
static String |
LoaderUtils.mergePaths(String parent,
String child)
Merges two paths.
|
Modifier and Type | Method and Description |
---|---|
ResourceKey |
FileResourceLoader.createKey(Object value,
Map factoryKeys)
Creates a new resource key from the given object and the factory keys.
|
ResourceKey |
FileResourceLoader.deriveKey(ResourceKey parent,
String path,
Map factoryKeys)
Derives a new resource key from the given key.
|
ResourceKey |
FileResourceLoader.deserialize(ResourceKey bundleKey,
String stringKey)
Generates a String representation of the ResourceKey specified.
|
Modifier and Type | Method and Description |
---|---|
ResourceKey |
RawResourceLoader.createKey(Object value,
Map factoryKeys)
Creates a new resource key from the given object and the factory keys.
|
ResourceKey |
RawResourceLoader.deriveKey(ResourceKey parent,
String path,
Map factoryKeys)
Derives a new resource key from the given key.
|
ResourceKey |
RawResourceLoader.deserialize(ResourceKey bundleKey,
String stringKey)
Parses the input string and returns a newly created ResourceKey based on the string data
|
Modifier and Type | Method and Description |
---|---|
ResourceKey |
ClassloaderResourceLoader.createKey(Object value,
Map factoryKeys)
Creates a new resource key from the given object and the factory keys.
|
ResourceKey |
ClassloaderResourceLoader.deriveKey(ResourceKey parent,
String path,
Map factoryKeys)
Derives a new resource key from the given key.
|
ResourceKey |
ClassloaderResourceLoader.deserialize(ResourceKey bundleKey,
String stringKey)
Parses the input string and returns a newly created ResourceKey based on the string data
|
Modifier and Type | Method and Description |
---|---|
ResourceKey |
ZipResourceLoader.createKey(Object value,
Map factoryKeys)
Creates a new resource key from the given object and the factory keys.
|
ResourceKey |
ZipResourceLoader.deriveKey(ResourceKey parent,
String path,
Map factoryKeys)
Derives a new resource key from the given key.
|
ResourceKey |
ZipResourceLoader.deserialize(ResourceKey bundleKey,
String stringKey) |
Constructor and Description |
---|
ZipEntryKey(ResourceManager manager,
File zipFile,
String entryName) |
ZipEntryKey(ResourceManager manager,
String zipFile,
String entryName) |
ZipEntryKey(ResourceManager manager,
URL zipFile,
String entryName) |