Modifier and Type | Method and Description |
---|---|
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 |
ResourceManagerBackend.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 |
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 |
DefaultResourceManagerBackend.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 |
ResourceBundleLoader.deriveKey(ResourceKey parent,
java.lang.String path,
java.util.Map factoryKeys)
Derives a new resource key from the given key.
|
ResourceKey |
ResourceManager.deriveKey(ResourceKey parent,
java.lang.String path,
java.util.Map parameters)
Derives a new key from the given resource-key.
|
ResourceKey |
ResourceLoader.deriveKey(ResourceKey parent,
java.lang.String path,
java.util.Map factoryKeys)
Derives a new resource key from the given 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 |
ResourceManagerBackend.deserialize(ResourceKey bundleKey,
java.lang.String serializedKey) |
ResourceKey |
ResourceBundleLoader.deserialize(ResourceKey bundleKey,
java.lang.String stringKey)
Creates a
ResourceKey based off the String representation
of the key. |
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 |
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 []
|
ResourceKey |
ResourceBundleData.getBundleKey() |
ResourceKey[] |
DependencyCollector.getDependencies() |
ResourceKey[] |
SimpleResource.getDependencies()
The primary source is also included in this set.
|
ResourceKey[] |
Resource.getDependencies()
The primary source is also included in this set.
|
ResourceKey[] |
CompoundResource.getDependencies()
The primary source is also included in this set.
|
ResourceKey |
ResourceData.getKey() |
ResourceKey |
ResourceKey.getParent() |
ResourceKey |
SimpleResource.getSource() |
ResourceKey |
Resource.getSource() |
ResourceKey |
CompoundResource.getSource() |
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 |
---|---|
void |
DependencyCollector.add(ResourceKey resourceKey,
long version) |
Resource |
ResourceManager.create(ResourceKey key,
ResourceKey context) |
Resource |
ResourceManager.create(ResourceKey key,
ResourceKey context,
java.lang.Class target) |
Resource |
ResourceManager.create(ResourceKey key,
ResourceKey context,
java.lang.Class[] target) |
Resource |
ResourceFactory.create(ResourceManager manager,
ResourceData data,
ResourceKey context)
Creates a resource by interpreting the data given in the resource-data object.
|
Resource |
DefaultResourceManagerBackend.create(ResourceManager frontEnd,
ResourceData data,
ResourceKey context,
java.lang.Class[] target) |
Resource |
ResourceManagerBackend.create(ResourceManager frontEnd,
ResourceData key,
ResourceKey context,
java.lang.Class[] target) |
ResourceBundleData |
ResourceBundleData.deriveData(ResourceKey key) |
ResourceKey |
ResourceManager.deriveKey(ResourceKey parent,
java.lang.String path)
Derives a new key from the given resource-key.
|
ResourceKey |
DefaultResourceManagerBackend.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 |
ResourceBundleLoader.deriveKey(ResourceKey parent,
java.lang.String path,
java.util.Map factoryKeys)
Derives a new resource key from the given key.
|
ResourceKey |
ResourceManager.deriveKey(ResourceKey parent,
java.lang.String path,
java.util.Map parameters)
Derives a new key from the given resource-key.
|
ResourceKey |
ResourceLoader.deriveKey(ResourceKey parent,
java.lang.String path,
java.util.Map factoryKeys)
Derives a new resource key from the given 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 |
ResourceManagerBackend.deserialize(ResourceKey bundleKey,
java.lang.String serializedKey) |
ResourceKey |
ResourceBundleLoader.deserialize(ResourceKey bundleKey,
java.lang.String stringKey)
Creates a
ResourceKey based off the String representation
of the key. |
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 |
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 []
|
long |
DependencyCollector.getVersion(ResourceKey key) |
long |
SimpleResource.getVersion(ResourceKey key) |
long |
Resource.getVersion(ResourceKey key) |
long |
CompoundResource.getVersion(ResourceKey key) |
boolean |
ResourceBundleLoader.isSupportedKey(ResourceKey key)
Checks, whether this resource loader implementation was responsible for
creating this key.
|
boolean |
ResourceLoader.isSupportedKey(ResourceKey key)
Checks, whether this resource loader implementation was responsible for
creating this key.
|
ResourceData |
ResourceManager.load(ResourceKey key) |
ResourceData |
ResourceLoader.load(ResourceKey key)
Loads the binary data represented by this key.
|
ResourceBundleData |
ResourceBundleLoader.loadBundle(ResourceManager resourceManager,
ResourceKey key)
Tries to load the bundle.
|
ResourceData |
ResourceManager.loadRawData(ResourceKey key) |
ResourceData |
DefaultResourceManagerBackend.loadRawData(ResourceManager frontEnd,
ResourceKey key) |
ResourceData |
ResourceManagerBackend.loadRawData(ResourceManager frontEnd,
ResourceKey key) |
ResourceBundleData |
ResourceManager.loadResourceBundle(ResourceKey key)
Tries to find the first resource-bundle-loader that would be able to process the key.
|
ResourceBundleData |
DefaultResourceManagerBackend.loadResourceBundle(ResourceManager frontEnd,
ResourceKey key)
Tries to find the first resource-bundle-loader that would be able to process the key.
|
ResourceBundleData |
ResourceManagerBackend.loadResourceBundle(ResourceManager frontEnd,
ResourceKey key) |
java.lang.String |
DefaultResourceManagerBackend.serialize(ResourceKey bundleKey,
ResourceKey key)
Creates a String version of the
ResourceKey that can be deserialized with the
deserialize() method. |
java.lang.String |
ResourceManagerBackend.serialize(ResourceKey bundleKey,
ResourceKey key) |
java.lang.String |
ResourceBundleLoader.serialize(ResourceKey bundleKey,
ResourceKey key)
Serializes the resource key to a String representation which can be recreated
using the
deserialize(ResourceKey) |
java.lang.String |
ResourceManager.serialize(ResourceKey bundleKey,
ResourceKey key)
Creates a String version of the
ResourceKey that can be deserialized with the
deserialize() method. |
java.lang.String |
ResourceLoader.serialize(ResourceKey bundleKey,
ResourceKey key)
Serializes the resource key to a String representation which can be recreated
using the
deserialize(ResourceKey) |
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.
|
java.net.URL |
DefaultResourceManagerBackend.toURL(ResourceKey key) |
java.net.URL |
ResourceManagerBackend.toURL(ResourceKey key) |
java.net.URL |
ResourceManager.toURL(ResourceKey key)
Tries to convert the resource-key into an URL.
|
java.net.URL |
ResourceLoader.toURL(ResourceKey key)
Generates a
URL version of the supplied ResourceKey . |
Constructor and Description |
---|
CompoundResource(ResourceKey source,
DependencyCollector dependencies,
java.lang.Object product,
java.lang.Class targetType) |
DependencyCollector(ResourceKey source,
long version) |
ResourceKey(ResourceKey parent,
java.lang.Object schema,
java.lang.Object identifier,
java.util.Map factoryParameters) |
SimpleResource(ResourceKey key,
java.lang.Object value,
java.lang.Class targetType,
long version) |
Modifier and Type | Method and Description |
---|---|
ResourceKey |
CachingResourceBundleData.getBundleKey() |
ResourceKey[] |
BundleCacheResourceWrapper.getDependencies() |
ResourceKey |
CachingResourceData.getKey() |
ResourceKey |
CachingResourceBundleData.getKey() |
ResourceKey |
BundleCacheResourceWrapper.getSource() |
Modifier and Type | Method and Description |
---|---|
ResourceBundleData |
CachingResourceBundleData.deriveData(ResourceKey key) |
static java.lang.String |
CacheUtility.externalizeKey(ResourceKey key) |
ResourceDataCacheEntry |
ResourceDataCache.get(ResourceKey key)
Retrieves the given data from the cache.
|
ResourceBundleDataCacheEntry |
ResourceBundleDataCache.get(ResourceKey key)
Retrieves the given data from the cache.
|
ResourceDataCacheEntry |
NullResourceDataCache.get(ResourceKey key) |
ResourceBundleDataCacheEntry |
NullResourceBundleDataCache.get(ResourceKey key) |
Resource |
ResourceFactoryCache.get(ResourceKey key,
java.lang.Class[] target) |
Resource |
NullResourceFactoryCache.get(ResourceKey key,
java.lang.Class[] target) |
long |
BundleCacheResourceWrapper.getVersion(ResourceKey key) |
Constructor and Description |
---|
BundleCacheResourceWrapper(Resource parent,
ResourceKey outsideKey) |
Modifier and Type | Method and Description |
---|---|
Resource |
AbstractResourceFactory.create(ResourceManager manager,
ResourceData data,
ResourceKey context) |
Resource |
FactoryModule.create(ResourceManager caller,
ResourceData data,
ResourceKey context) |
Modifier and Type | Method and Description |
---|---|
Resource |
GIFImageFactoryModule.create(ResourceManager caller,
ResourceData data,
ResourceKey context) |
Resource |
PNGImageFactoryModule.create(ResourceManager caller,
ResourceData data,
ResourceKey context) |
Resource |
JPEGImageFactoryModule.create(ResourceManager caller,
ResourceData data,
ResourceKey context) |
Modifier and Type | Method and Description |
---|---|
Resource |
PropertiesResourceFactory.create(ResourceManager manager,
ResourceData data,
ResourceKey context) |
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
|
ResourceKey |
URLResourceData.getKey() |
Modifier and Type | Method and Description |
---|---|
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
|
boolean |
URLResourceLoader.isSupportedKey(ResourceKey key)
Checks, whether this resource loader implementation was responsible for
creating this key.
|
ResourceData |
URLResourceLoader.load(ResourceKey key) |
java.lang.String |
URLResourceLoader.serialize(ResourceKey bundleKey,
ResourceKey key)
Creates a String version of the resource key that can be used to generate a new ResourceKey
object via deserialization
|
java.net.URL |
URLResourceLoader.toURL(ResourceKey key) |
Constructor and Description |
---|
URLResourceData(ResourceKey key) |
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.
|
ResourceKey |
FileResourceData.getKey() |
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
FileResourceLoader.isSupportedKey(ResourceKey key)
Checks, whether this resource loader implementation was responsible for
creating this key.
|
ResourceData |
FileResourceLoader.load(ResourceKey key) |
java.lang.String |
FileResourceLoader.serialize(ResourceKey bundleKey,
ResourceKey key)
Generates a String representation of the ResourceKey specified.
|
java.net.URL |
FileResourceLoader.toURL(ResourceKey key) |
Constructor and Description |
---|
FileResourceData(ResourceKey key) |
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
|
ResourceKey |
RawResourceData.getKey() |
Modifier and Type | Method and Description |
---|---|
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
|
boolean |
RawResourceLoader.isSupportedKey(ResourceKey key)
Checks, whether this resource loader implementation was responsible for
creating this key.
|
ResourceData |
RawResourceLoader.load(ResourceKey key) |
java.lang.String |
RawResourceLoader.serialize(ResourceKey bundleKey,
ResourceKey key)
Creates a String version of the resource key that can be used to generate a new ResourceKey
object via deserialization
|
java.net.URL |
RawResourceLoader.toURL(ResourceKey key) |
Constructor and Description |
---|
RawResourceData(ResourceKey rawKey) |
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
|
ResourceKey |
ClassloaderResourceData.getKey() |
Modifier and Type | Method and Description |
---|---|
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
|
boolean |
ClassloaderResourceLoader.isSupportedKey(ResourceKey key)
Checks, whether this resource loader implementation was responsible for
creating this key.
|
ResourceData |
ClassloaderResourceLoader.load(ResourceKey key) |
java.lang.String |
ClassloaderResourceLoader.serialize(ResourceKey bundleKey,
ResourceKey key)
Creates a String version of the resource key that can be used to generate a new ResourceKey
object via deserialization
|
java.net.URL |
ClassloaderResourceLoader.toURL(ResourceKey key) |
Constructor and Description |
---|
ClassloaderResourceData(ResourceKey key) |
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) |
ResourceKey |
ZipResourceData.getKey() |
Modifier and Type | Method and Description |
---|---|
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) |
boolean |
ZipResourceLoader.isSupportedKey(ResourceKey key)
Checks, whether this resource loader implementation was responsible for
creating this key.
|
ResourceData |
ZipResourceLoader.load(ResourceKey key) |
java.lang.String |
ZipResourceLoader.serialize(ResourceKey bundleKey,
ResourceKey key) |
java.net.URL |
ZipResourceLoader.toURL(ResourceKey key) |
Constructor and Description |
---|
ZipResourceData(ResourceKey key) |
Modifier and Type | Method and Description |
---|---|
ResourceBundleDataCacheEntry |
EHResourceBundleDataCache.get(ResourceKey key)
Retrieves the given data from the cache.
|
ResourceDataCacheEntry |
EHResourceDataCache.get(ResourceKey key)
Retrieves the given data from the cache.
|
Resource |
EHResourceFactoryCache.get(ResourceKey key,
java.lang.Class[] target) |
Modifier and Type | Method and Description |
---|---|
Resource |
ImageIOFactoryModule.create(ResourceManager caller,
ResourceData data,
ResourceKey context) |
Modifier and Type | Method and Description |
---|---|
Resource |
WrapperSVGDrawableFactoryModule.create(ResourceManager caller,
ResourceData data,
ResourceKey context) |
Resource |
WrapperSVGImageFactoryModule.create(ResourceManager caller,
ResourceData data,
ResourceKey context) |
Resource |
SVGDrawableFactoryModule.create(ResourceManager caller,
ResourceData data,
ResourceKey context) |
Resource |
SVGImageFactoryModule.create(ResourceManager caller,
ResourceData data,
ResourceKey context) |
Modifier and Type | Method and Description |
---|---|
Resource |
WrapperWMFDrawableFactoryModule.create(ResourceManager caller,
ResourceData data,
ResourceKey context) |
Resource |
WMFDrawableFactoryModule.create(ResourceManager caller,
ResourceData data,
ResourceKey context) |
Resource |
WrapperWMFImageFactoryModule.create(ResourceManager caller,
ResourceData data,
ResourceKey context) |
Resource |
WMFImageFactoryModule.create(ResourceManager caller,
ResourceData data,
ResourceKey context) |