| java.lang.Object org.pentaho.plugin.jfreereport.helper.PentahoResourceLoader
PentahoResourceLoader | public class PentahoResourceLoader implements ResourceLoader(Code) | | This class is implemented to support loading solution files
from the pentaho repository into JFreeReport
author: Will Gorman |
PATH_SEPARATOR | final public static String PATH_SEPARATOR(Code) | | |
SCHEMA_SEPARATOR | final public static String SCHEMA_SEPARATOR(Code) | | |
SOLUTION_SCHEMA_NAME | final public static String SOLUTION_SCHEMA_NAME(Code) | | |
WIN_PATH_SEPARATOR | final public static String WIN_PATH_SEPARATOR(Code) | | |
PentahoResourceLoader | public PentahoResourceLoader()(Code) | | default constructor
|
createKey | public ResourceKey createKey(Object value, Map factoryKeys) throws ResourceKeyCreationException(Code) | | create a new key based on the values provided
Parameters: values - map of values new resource key throws: ResourceKeyCreationException - |
deriveKey | public ResourceKey deriveKey(ResourceKey parent, String path, Map data) throws ResourceKeyCreationException(Code) | | derive a key from an existing key, used when a relative path is given.
Parameters: parent - the parent key Parameters: data - the new data to be keyed derived key throws: ResourceKeyCreationException - |
getManager | public ResourceManager getManager()(Code) | | get the resource manager
resource manager |
getSchema | public String getSchema()(Code) | | get the schema name, in this case it's always "solution"
the schema name |
isSupportedKey | public boolean isSupportedKey(ResourceKey key)(Code) | | see if the pentaho resource loader can support the content key path
Parameters: values - map of values to look in true if class supports the content key. |
load | public ResourceData load(ResourceKey key) throws ResourceLoadingException(Code) | | create a resource data object
Parameters: key - resource key resource data throws: ResourceLoadingException - |
setResourceManager | public void setResourceManager(ResourceManager manager)(Code) | | set the resource manager
Parameters: manager - resource manager |
|
|