public class RepositoryTemplateLoader extends Object implements freemarker.cache.TemplateLoader
Constructor and Description |
---|
RepositoryTemplateLoader() |
Modifier and Type | Method and Description |
---|---|
void |
closeTemplateSource(Object templateSource) |
void |
destroy()
destory must be invoked by HstFreemarkerServlet#destroy
|
Object |
findTemplateSource(String templateSource) |
long |
getLastModified(Object templateSource) |
Reader |
getReader(Object templateSource,
String encoding) |
public void closeTemplateSource(Object templateSource) throws IOException
closeTemplateSource
in interface freemarker.cache.TemplateLoader
IOException
public Object findTemplateSource(String templateSource) throws IOException
findTemplateSource
in interface freemarker.cache.TemplateLoader
IOException
public long getLastModified(Object templateSource)
getLastModified
in interface freemarker.cache.TemplateLoader
public Reader getReader(Object templateSource, String encoding) throws IOException
getReader
in interface freemarker.cache.TemplateLoader
IOException
public void destroy()
Copyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.