de.neuland.jade4j.template
Class ClasspathTemplateLoader
java.lang.Object
de.neuland.jade4j.template.ClasspathTemplateLoader
- All Implemented Interfaces:
- TemplateLoader
public class ClasspathTemplateLoader
- extends Object
- implements TemplateLoader
Loads a Jade template from Classpath
It is useful when Jade templates are in the same JAR or WAR
- Author:
- emiguel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClasspathTemplateLoader
public ClasspathTemplateLoader()
getLastModified
public long getLastModified(String name)
- Specified by:
getLastModified in interface TemplateLoader
getReader
public Reader getReader(String name)
throws IOException
- Specified by:
getReader in interface TemplateLoader
- Throws:
IOException
getEncoding
public String getEncoding()
setEncoding
public void setEncoding(String encoding)
Copyright © 2013. All rights reserved.