ro.isdc.wro.extensions.processor.support.dustjs
Class DustJs
java.lang.Object
ro.isdc.wro.extensions.processor.support.template.AbstractJsTemplateCompiler
ro.isdc.wro.extensions.processor.support.dustjs.DustJs
public class DustJs
- extends AbstractJsTemplateCompiler
Dust is a JavaScript templating engine designed to provide a clean separation between presentation and logic without
sacrificing ease of use. It is particularly well-suited for asynchronous and streaming applications.
- Since:
- 1.4.5
- Author:
- Eivind Barstad Waaler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DustJs
public DustJs()
getCompilerAsStream
protected InputStream getCompilerAsStream()
throws IOException
-
- Specified by:
getCompilerAsStream
in class AbstractJsTemplateCompiler
- Returns:
- the stream of the compiler resource (javascript) used to compile templates.
- Throws:
IOException
- if the stream could not be located.
getDefaultCompilerStream
protected InputStream getDefaultCompilerStream()
- Returns:
- default stream of the compiler.
getCompileCommand
protected String getCompileCommand()
-
- Specified by:
getCompileCommand
in class AbstractJsTemplateCompiler
- Returns:
- the js statement used to execute the compilation of the template.
Copyright © 2008-2013. All Rights Reserved.