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

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

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

org::jfree::resourceloader::loader::AbstractResourceData org::jfree::resourceloader::ResourceData

List of all members.

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.

Public Member Functions

 FileResourceData (final ResourceKey key) throws ResourceLoadingException
Object getAttribute (String attrkey)
ResourceKey getKey ()
int getResource (ResourceManager caller, byte[] target, int offset, int length) throws ResourceLoadingException
int getResource (final ResourceManager caller, final byte[] target, int offset, int length) throws ResourceLoadingException
byte[] getResource (ResourceManager caller) throws ResourceLoadingException
InputStream getResourceAsStream (ResourceManager caller) throws ResourceLoadingException
long getVersion (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

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

Generated by  Doxygen 1.6.0   Back to index