org.apache.jetspeed.decoration.caches
Class HashMapPathResolverCache
java.lang.Object
org.apache.jetspeed.decoration.caches.HashMapPathResolverCache
- All Implemented Interfaces:
- org.apache.jetspeed.decoration.PathResolverCache
- Direct Known Subclasses:
- SessionPathResolverCache
public class HashMapPathResolverCache
- extends Object
- implements org.apache.jetspeed.decoration.PathResolverCache
Uses a java.util.HashMap
to cache previously located
resources pathes.
- Author:
- Scott T. Weaver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cache
protected Map cache
HashMapPathResolverCache
public HashMapPathResolverCache()
addPath
public void addPath(String key,
String path)
- Specified by:
addPath
in interface org.apache.jetspeed.decoration.PathResolverCache
getPath
public String getPath(String key)
- Specified by:
getPath
in interface org.apache.jetspeed.decoration.PathResolverCache
removePath
public String removePath(String key)
- Specified by:
removePath
in interface org.apache.jetspeed.decoration.PathResolverCache
clear
public void clear()
- Specified by:
clear
in interface org.apache.jetspeed.decoration.PathResolverCache
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.