| org.pentaho.plugin.jfreereport.helper.PentahoResourceData
PentahoResourceData | public class PentahoResourceData extends AbstractResourceData (Code) | | This class is implemented to support loading solution files
from the pentaho repository into JFreeReport
author: Will Gorman |
PENTAHO_RUNTIME_CONTEXT_KEY | final public static String PENTAHO_RUNTIME_CONTEXT_KEY(Code) | | |
PentahoResourceData | public PentahoResourceData(ResourceKey key)(Code) | | constructor which takes a resource key for data loading specifics
Parameters: key - resource key |
getAttribute | public Object getAttribute(String lookupKey)(Code) | | returns a requested attribute, currently only supporting filename.
Parameters: key - attribute requested attribute value |
getKey | public ResourceKey getKey()(Code) | | get the resource key
resource key |
getResourceAsStream | public InputStream getResourceAsStream(ResourceManager caller) throws ResourceLoadingException(Code) | | gets a resource stream from the runtime context.
Parameters: caller - resource manager input stream |
getVersion | public long getVersion(ResourceManager caller) throws ResourceLoadingException(Code) | | return the version number. We don't have access to file dates or versions
so return 0
Parameters: caller - resource manager version |
|
|