org.pentaho.reporting.libraries.resourceloader.loader.zip
public class ZipResourceLoader extends Object implements ResourceLoader
Field Summary | |
---|---|
static String | SCHEMA_NAME |
Constructor Summary | |
---|---|
ZipResourceLoader() |
Method Summary | |
---|---|
ResourceKey | createKey(Object value, Map factoryKeys)
Creates a new resource key from the given object and the factory keys.
|
ResourceKey | deriveKey(ResourceKey parent, String path, Map factoryKeys)
Derives a new resource key from the given key. |
ResourceKey | deserialize(ResourceKey bundleKey, String stringKey) |
boolean | isSupportedDeserializer(String data) |
boolean | isSupportedKey(ResourceKey key)
Checks, whether this resource loader implementation was responsible for
creating this key.
|
ResourceData | load(ResourceKey key) |
String | serialize(ResourceKey bundleKey, ResourceKey key) |
URL | toURL(ResourceKey key) |
Parameters: value factoryKeys
Returns: the created key.
Throws: org.pentaho.reporting.libraries.resourceloader.ResourceKeyCreationException if creating the key failed.
Parameters: parent the parent path the derived path (can be null). factoryKeys the optional factory keys (can be null).
Returns: the derived key.
Throws: org.pentaho.reporting.libraries.resourceloader.ResourceKeyCreationException if the key cannot be derived for any reason.
Parameters: key
Returns: