public class PentahoResourceData
extends org.pentaho.reporting.libraries.resourceloader.loader.AbstractResourceData
Constructor and Description |
---|
PentahoResourceData(org.pentaho.reporting.libraries.resourceloader.ResourceKey key)
constructor which takes a resource key for data loading specifics
|
Modifier and Type | Method and Description |
---|---|
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.
|
public PentahoResourceData(org.pentaho.reporting.libraries.resourceloader.ResourceKey key) throws org.pentaho.reporting.libraries.resourceloader.ResourceLoadingException
key
- resource keyorg.pentaho.reporting.libraries.resourceloader.ResourceLoadingException
public InputStream getResourceAsStream(org.pentaho.reporting.libraries.resourceloader.ResourceManager caller) throws org.pentaho.reporting.libraries.resourceloader.ResourceLoadingException
caller
- resource managerorg.pentaho.reporting.libraries.resourceloader.ResourceLoadingException
public Object getAttribute(String lookupKey)
key
- attribute requestedpublic long getVersion(org.pentaho.reporting.libraries.resourceloader.ResourceManager caller) throws org.pentaho.reporting.libraries.resourceloader.ResourceLoadingException
caller
- resource managerorg.pentaho.reporting.libraries.resourceloader.ResourceLoadingException
public org.pentaho.reporting.libraries.resourceloader.ResourceKey getKey()
Copyright © 2018 Hitachi Vantara. All rights reserved.