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

Public Member Functions | Static Public Attributes | Private Attributes

org::jfree::resourceloader::loader::file::FileResourceData Class Reference

Inheritance diagram for org::jfree::resourceloader::loader::file::FileResourceData:
Inheritance graph
Collaboration diagram for org::jfree::resourceloader::loader::file::FileResourceData:
Collaboration graph

List of all members.

Public Member Functions

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

Static Public Attributes

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

Private Attributes

File file
ResourceKey key

Detailed Description

A simple file reader. This class, as all core implementation, does not hold any references to the data read from the file. Caching is left to the cache provider.

Thomas Morgner

Definition at line 52 of file FileResourceData.java.

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

Generated by  Doxygen 1.6.0   Back to index