Logo Search packages:      
Sourcecode: libloader version File versions  Download package

Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes

org::pentaho::reporting::libraries::resourceloader::loader::URLResourceData Class Reference

Inheritance diagram for org::pentaho::reporting::libraries::resourceloader::loader::URLResourceData:
Inheritance graph
[legend]
Collaboration diagram for org::pentaho::reporting::libraries::resourceloader::loader::URLResourceData:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Object getAttribute (final String key)
Object getAttribute (String key)
ResourceKey getKey ()
long getLength ()
byte[] getResource (ResourceManager caller) throws ResourceLoadingException
int getResource (ResourceManager caller, byte[] target, long offset, int length) throws ResourceLoadingException
byte[] getResource (final ResourceManager caller) throws ResourceLoadingException
int getResource (final ResourceManager caller, final byte[] target, final long offset, final int length) throws ResourceLoadingException
InputStream getResourceAsStream (ResourceManager caller) throws ResourceLoadingException
InputStream getResourceAsStream (final ResourceManager caller) throws ResourceLoadingException
long getVersion (final ResourceManager caller) throws ResourceLoadingException
long getVersion (ResourceManager caller) throws ResourceLoadingException
 URLResourceData (final ResourceKey key)

Static Public Attributes

static final String CONTENT_LENGTH = "content-length"
static final String CONTENT_TYPE = "content-type"
static final String FILENAME = "filename"

Protected Member Functions

String getFilename ()
URL getUrl ()
void setFilename (final String filename)
void setKey (final ResourceKey key)
void setUrl (final URL url)

Private Member Functions

void readMetaData () throws IOException

Private Attributes

Long contentLength
String contentType
String filename
ResourceKey key
long lastDateMetaDataRead
boolean metaDataOK
long modificationDate
URL url

Static Private Attributes

static final long serialVersionUID = -7183025686032509509L

Detailed Description

A generic read handler for URL resources.

Author:
Thomas Morgner

Definition at line 37 of file URLResourceData.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index