Liferay 6.0.5

com.liferay.portal.freemarker
Class LiferayTemplateLoader

java.lang.Object
  extended by com.liferay.portal.freemarker.LiferayTemplateLoader
All Implemented Interfaces:
freemarker.cache.TemplateLoader

public class LiferayTemplateLoader
extends Object
implements freemarker.cache.TemplateLoader


Constructor Summary
LiferayTemplateLoader()
           
 
Method Summary
 void closeTemplateSource(Object templateSource)
           
 Object findTemplateSource(String name)
           
 long getLastModified(Object templateSource)
           
 Reader getReader(Object templateSource, String encoding)
           
 void setTemplateLoaders(String[] freeMarkerTemplateLoaderClassNames)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiferayTemplateLoader

public LiferayTemplateLoader()
Method Detail

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)

Liferay 6.0.5