1 52 53 package freemarker.cache; 54 55 import java.io.IOException ; 56 import java.io.Reader ; 57 58 69 public interface TemplateLoader 70 { 71 107 public Object findTemplateSource(String name) 108 throws 109 IOException ; 110 111 119 public long getLastModified(Object templateSource); 120 121 137 public Reader getReader(Object templateSource, String encoding) 138 throws 139 IOException ; 140 141 148 public void closeTemplateSource(Object templateSource) 149 throws 150 IOException ; 151 } 152 | Popular Tags |