org.pentaho.reporting.libraries.resourceloader.loader
Class URLResourceData

java.lang.Object
  extended by org.pentaho.reporting.libraries.resourceloader.loader.AbstractResourceData
      extended by org.pentaho.reporting.libraries.resourceloader.loader.URLResourceData
All Implemented Interfaces:
Serializable, ResourceData

public class URLResourceData
extends AbstractResourceData

A generic read handler for URL resources.

Author:
Thomas Morgner
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.pentaho.reporting.libraries.resourceloader.ResourceData
CONTENT_LENGTH, CONTENT_TYPE, FILENAME
 
Constructor Summary
URLResourceData(ResourceKey key)
           
 
Method Summary
 Object getAttribute(String key)
           
 ResourceKey getKey()
           
 InputStream getResourceAsStream(ResourceManager caller)
           
 long getVersion(ResourceManager caller)
           
 
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

URLResourceData

public URLResourceData(ResourceKey key)
Method Detail

getResourceAsStream

public InputStream getResourceAsStream(ResourceManager caller)
                                throws ResourceLoadingException
Throws:
ResourceLoadingException

getAttribute

public Object getAttribute(String key)

getVersion

public long getVersion(ResourceManager caller)
                throws ResourceLoadingException
Throws:
ResourceLoadingException

getKey

public ResourceKey getKey()