org.norther.tammi.spray.velocity
Class TemplateCacheAdapter
java.lang.Object
org.norther.tammi.spray.velocity.TemplateCacheAdapter
- All Implemented Interfaces:
- org.apache.velocity.runtime.resource.ResourceCache
public class TemplateCacheAdapter
- extends Object
- implements org.apache.velocity.runtime.resource.ResourceCache
An adapter for a resource cache.
- Author:
- Ilkka Priha
|
Method Summary |
Iterator |
enumerateKeys()
|
org.apache.velocity.runtime.resource.Resource |
get(Object resourceKey)
|
void |
initialize(org.apache.velocity.runtime.RuntimeServices rs)
|
org.apache.velocity.runtime.resource.Resource |
put(Object resourceKey,
org.apache.velocity.runtime.resource.Resource resource)
|
org.apache.velocity.runtime.resource.Resource |
remove(Object resourceKey)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateCacheAdapter
public TemplateCacheAdapter()
- Constructs a new adapter.
initialize
public void initialize(org.apache.velocity.runtime.RuntimeServices rs)
- Specified by:
initialize in interface org.apache.velocity.runtime.resource.ResourceCache
get
public org.apache.velocity.runtime.resource.Resource get(Object resourceKey)
- Specified by:
get in interface org.apache.velocity.runtime.resource.ResourceCache
put
public org.apache.velocity.runtime.resource.Resource put(Object resourceKey,
org.apache.velocity.runtime.resource.Resource resource)
- Specified by:
put in interface org.apache.velocity.runtime.resource.ResourceCache
remove
public org.apache.velocity.runtime.resource.Resource remove(Object resourceKey)
- Specified by:
remove in interface org.apache.velocity.runtime.resource.ResourceCache
enumerateKeys
public Iterator enumerateKeys()
- Specified by:
enumerateKeys in interface org.apache.velocity.runtime.resource.ResourceCache
Copyright © 2004 The Norther Organization. All rights reserved.