com.khubla.pragmatach.plugin.freemarker
Class PragmatachTemplateLoader

java.lang.Object
  extended by com.khubla.pragmatach.plugin.freemarker.PragmatachTemplateLoader
All Implemented Interfaces:
freemarker.cache.TemplateLoader

public class PragmatachTemplateLoader
extends Object
implements freemarker.cache.TemplateLoader

Author:
tome

Constructor Summary
PragmatachTemplateLoader(javax.servlet.ServletContext servletContext)
           
 
Method Summary
 void closeTemplateSource(Object object)
           
 Object findTemplateSource(String template)
           
 long getLastModified(Object object)
           
 Reader getReader(Object object, String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PragmatachTemplateLoader

public PragmatachTemplateLoader(javax.servlet.ServletContext servletContext)
Method Detail

closeTemplateSource

public void closeTemplateSource(Object object)
                         throws IOException
Specified by:
closeTemplateSource in interface freemarker.cache.TemplateLoader
Throws:
IOException

findTemplateSource

public Object findTemplateSource(String template)
                          throws IOException
Specified by:
findTemplateSource in interface freemarker.cache.TemplateLoader
Throws:
IOException

getLastModified

public long getLastModified(Object object)
Specified by:
getLastModified in interface freemarker.cache.TemplateLoader

getReader

public Reader getReader(Object object,
                        String string)
                 throws IOException
Specified by:
getReader in interface freemarker.cache.TemplateLoader
Throws:
IOException


Copyright © 2014 khubla.com. All rights reserved.