|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.libraries.resourceloader.loader.AbstractResourceData
public abstract class AbstractResourceData
Creation-Date: 05.04.2006, 15:24:47
Field Summary |
---|
Fields inherited from interface org.pentaho.reporting.libraries.resourceloader.ResourceData |
---|
CONTENT_LENGTH, CONTENT_TYPE, FILENAME |
Constructor Summary | |
---|---|
protected |
AbstractResourceData()
|
Method Summary | |
---|---|
long |
getLength()
|
byte[] |
getResource(ResourceManager caller)
This is dangerous, especially if the resource is large. |
int |
getResource(ResourceManager caller,
byte[] target,
long offset,
int length)
Tries to read data into the given byte-array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.pentaho.reporting.libraries.resourceloader.ResourceData |
---|
getAttribute, getKey, getResourceAsStream, getVersion |
Constructor Detail |
---|
protected AbstractResourceData()
Method Detail |
---|
public byte[] getResource(ResourceManager caller) throws ResourceLoadingException
ResourceData
getResource
in interface ResourceData
ResourceLoadingException
public long getLength()
getLength
in interface ResourceData
public int getResource(ResourceManager caller, byte[] target, long offset, int length) throws ResourceLoadingException
ResourceData
getResource
in interface ResourceData
ResourceLoadingException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |