com.liferay.portal.freemarker
Class LiferayTemplateLoader
java.lang.Object
com.liferay.portal.freemarker.LiferayTemplateLoader
- All Implemented Interfaces:
- freemarker.cache.TemplateLoader
public class LiferayTemplateLoader
- extends Object
- implements freemarker.cache.TemplateLoader
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LiferayTemplateLoader
public LiferayTemplateLoader()
closeTemplateSource
public void closeTemplateSource(Object templateSource)
- Specified by:
closeTemplateSource
in interface freemarker.cache.TemplateLoader
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
setTemplateLoaders
public void setTemplateLoaders(String[] freeMarkerTemplateLoaderClassNames)