Class DustJs
java.lang.Object
ro.isdc.wro.extensions.processor.support.template.AbstractJsTemplateCompiler
ro.isdc.wro.extensions.processor.support.dustjs.DustJs
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
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ro.isdc.wro.extensions.processor.support.template.AbstractJsTemplateCompiler
compile, getArguments
-
Constructor Details
-
DustJs
public DustJs()
-
-
Method Details
-
getCompilerAsStream
- Specified by:
getCompilerAsStreamin classAbstractJsTemplateCompiler- Returns:
- the stream of the compiler resource (javascript) used to compile templates.
- Throws:
IOException- if the stream could not be located.
-
getDefaultCompilerStream
- Returns:
- default stream of the compiler.
-
getCompileCommand
- Specified by:
getCompileCommandin classAbstractJsTemplateCompiler- Returns:
- the js statement used to execute the compilation of the template.
-