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