ninja.template
Class TemplateEngineFreemarkerEscapedLoader
java.lang.Object
ninja.template.TemplateEngineFreemarkerEscapedLoader
- All Implemented Interfaces:
- freemarker.cache.TemplateLoader
public class TemplateEngineFreemarkerEscapedLoader
- extends Object
- implements freemarker.cache.TemplateLoader
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ESCAPE_PREFIX
public static final String ESCAPE_PREFIX
- See Also:
- Constant Field Values
ESCAPE_SUFFIX
public static final String ESCAPE_SUFFIX
- See Also:
- Constant Field Values
TemplateEngineFreemarkerEscapedLoader
public TemplateEngineFreemarkerEscapedLoader(freemarker.cache.TemplateLoader delegate)
findTemplateSource
public Object findTemplateSource(String name)
throws IOException
- Specified by:
findTemplateSource
in interface freemarker.cache.TemplateLoader
- Throws:
IOException
getLastModified
public long getLastModified(Object templateSource)
- Specified by:
getLastModified
in interface freemarker.cache.TemplateLoader
getReader
public Reader getReader(Object templateSource,
String encoding)
throws IOException
- Specified by:
getReader
in interface freemarker.cache.TemplateLoader
- Throws:
IOException
closeTemplateSource
public void closeTemplateSource(Object templateSource)
throws IOException
- Specified by:
closeTemplateSource
in interface freemarker.cache.TemplateLoader
- Throws:
IOException
Copyright © 2012. All Rights Reserved.