1 package org.apache.velocity.runtime.resource; 2 3 18 19 import java.util.Iterator ; 20 import org.apache.velocity.runtime.RuntimeServices; 21 22 29 public interface ResourceCache 30 { 31 37 public void initialize( RuntimeServices rs ); 38 39 46 public Resource get( Object resourceKey ); 47 48 55 public Resource put( Object resourceKey, Resource resource ); 56 57 63 public Resource remove( Object resourceKey ); 64 65 68 public Iterator enumerateKeys(); 69 } 70 | Popular Tags |