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

Public Member Functions | Private Attributes | Static Private Attributes

org::jfree::resourceloader::ResourceKey Class Reference

Inheritance diagram for org::jfree::resourceloader::ResourceKey:
Inheritance graph
[legend]
Collaboration diagram for org::jfree::resourceloader::ResourceKey:
Collaboration graph
[legend]

List of all members.

Public Member Functions

boolean equals (final Object o)
Map getFactoryParameters ()
Object getIdentifier ()
ResourceKey getParent ()
Object getSchema ()
int hashCode ()
 ResourceKey (final ResourceKey parent, final Object schema, final Object identifier, final Map factoryParameters)
 ResourceKey (final Object schema, final Object identifier, final Map factoryParameters)
String toString ()

Private Attributes

Map factoryParameters
Integer hashCode
Object identifier
ResourceKey parent
Object schema

Static Private Attributes

static final Map EMPTY_MAP

Detailed Description

The key is an unique identifier for the resource. Most of the time, this may be an URL, but other (especially database based) schemas are possible.

A resource key must provide an 'equals' implementation. ResourceKeys should be implemented as immutable classes, so that they can be safely stored in collections or on external storages (like caches).

Author:
Thomas Morgner

Definition at line 50 of file ResourceKey.java.


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

Generated by  Doxygen 1.6.0   Back to index