|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object AbstractResourceData org.pentaho.platform.plugin.action.jfreereport.helper.PentahoResourceData
public class PentahoResourceData
This class is implemented to support loading solution files from the pentaho repository into JFreeReport
Field Summary | |
---|---|
static String |
PENTAHO_RUNTIME_CONTEXT_KEY
Deprecated. replaced with the solution repository key (where applicable) |
static String |
PENTAHO_SOLUTION_REPOSITORY_KEY
|
Constructor Summary | |
---|---|
PentahoResourceData(ResourceKey key)
constructor which takes a resource key for data loading specifics |
Method Summary | |
---|---|
Object |
getAttribute(String lookupKey)
returns a requested attribute, currently only supporting filename. |
ResourceKey |
getKey()
get the resource key |
InputStream |
getResourceAsStream(ResourceManager caller)
gets a resource stream from the runtime context. |
long |
getVersion(ResourceManager caller)
return the version number. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@Deprecated public static final String PENTAHO_RUNTIME_CONTEXT_KEY
public static final String PENTAHO_SOLUTION_REPOSITORY_KEY
Constructor Detail |
---|
public PentahoResourceData(ResourceKey key) throws ResourceLoadingException
key
- resource key
ResourceLoadingException
Method Detail |
---|
public InputStream getResourceAsStream(ResourceManager caller) throws ResourceLoadingException
caller
- resource manager
ResourceLoadingException
public Object getAttribute(String lookupKey)
key
- attribute requested
public long getVersion(ResourceManager caller) throws ResourceLoadingException
caller
- resource manager
ResourceLoadingException
public ResourceKey getKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |