|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.reporting.libraries.resourceloader.loader.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 |
---|
Fields inherited from interface org.pentaho.reporting.libraries.resourceloader.ResourceData |
---|
CONTENT_LENGTH, CONTENT_TYPE, FILENAME |
Constructor Summary | |
---|---|
PentahoResourceData(org.pentaho.reporting.libraries.resourceloader.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. |
org.pentaho.reporting.libraries.resourceloader.ResourceKey |
getKey()
get the resource key |
InputStream |
getResourceAsStream(org.pentaho.reporting.libraries.resourceloader.ResourceManager caller)
gets a resource stream from the runtime context. |
long |
getVersion(org.pentaho.reporting.libraries.resourceloader.ResourceManager caller)
return the version number. |
Methods inherited from class org.pentaho.reporting.libraries.resourceloader.loader.AbstractResourceData |
---|
getLength, getResource, getResource |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PentahoResourceData(org.pentaho.reporting.libraries.resourceloader.ResourceKey key) throws org.pentaho.reporting.libraries.resourceloader.ResourceLoadingException
key
- resource key
org.pentaho.reporting.libraries.resourceloader.ResourceLoadingException
Method Detail |
---|
public InputStream getResourceAsStream(org.pentaho.reporting.libraries.resourceloader.ResourceManager caller) throws org.pentaho.reporting.libraries.resourceloader.ResourceLoadingException
caller
- resource manager
org.pentaho.reporting.libraries.resourceloader.ResourceLoadingException
public Object getAttribute(String lookupKey)
key
- attribute requested
public long getVersion(org.pentaho.reporting.libraries.resourceloader.ResourceManager caller) throws org.pentaho.reporting.libraries.resourceloader.ResourceLoadingException
caller
- resource manager
org.pentaho.reporting.libraries.resourceloader.ResourceLoadingException
public org.pentaho.reporting.libraries.resourceloader.ResourceKey getKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |