|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.decoration.caches.NoCachePathResolverCache
public class NoCachePathResolverCache
A non-caching cache :)
| Constructor Summary | |
|---|---|
NoCachePathResolverCache()
|
|
| Method Summary | |
|---|---|
void |
addPath(java.lang.String key,
java.lang.String path)
Adds a recolved path to the the cache using
its relative path as the key |
void |
clear()
Clears the entire contents of this cache object. |
java.lang.String |
getPath(java.lang.String key)
Returns a previously located path using its retlative path as the code. |
java.lang.String |
removePath(java.lang.String key)
Removes a full path to a resource from the cache using its relative path as the key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NoCachePathResolverCache()
| Method Detail |
|---|
public void addPath(java.lang.String key,
java.lang.String path)
PathResolverCachepath to the the cache using
its relative path as the key
addPath in interface PathResolverCachekey - key relative path of the resource.path - full path to resourcepublic java.lang.String getPath(java.lang.String key)
PathResolverCachecode.
getPath in interface PathResolverCachekey - relative path of the resource.
null if no resource
for the key exists.public java.lang.String removePath(java.lang.String key)
PathResolverCachekey.
removePath in interface PathResolverCachenull
if the resource path was not cached.public void clear()
PathResolverCache
clear in interface PathResolverCache
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||