org.webbitserver.rest.jmustache
Class JMustacheEngine
java.lang.Object
org.webbitserver.rest.jmustache.JMustacheEngine
- All Implemented Interfaces:
- org.webbitserver.handler.TemplateEngine
public class JMustacheEngine
- extends Object
- implements org.webbitserver.handler.TemplateEngine
| Fields inherited from interface org.webbitserver.handler.TemplateEngine |
TEMPLATE_CONTEXT |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMustacheEngine
public JMustacheEngine(boolean reloading)
fromStaticFiles
public static org.webbitserver.handler.AbstractResourceHandler fromStaticFiles(String path)
fromEmbeddedResources
public static org.webbitserver.handler.AbstractResourceHandler fromEmbeddedResources(String path)
process
public byte[] process(byte[] template,
String path,
Object context)
- Specified by:
process in interface org.webbitserver.handler.TemplateEngine
Copyright © 2012. All Rights Reserved.