public class HandlebarsJs extends AbstractJsTemplateCompiler
| Constructor and Description |
|---|
HandlebarsJs() |
| Modifier and Type | Method and Description |
|---|---|
String |
compile(String content,
String name)
Compiles the javascript template into plain javascript.
|
protected String |
getCompileCommand() |
protected InputStream |
getCompilerAsStream() |
getArgumentspublic String compile(String content, String name)
compile in class AbstractJsTemplateCompilercontent - the template to be compiled.name - any additional arguments used by template script.protected String getCompileCommand()
getCompileCommand in class AbstractJsTemplateCompilerprotected InputStream getCompilerAsStream() throws IOException
getCompilerAsStream in class AbstractJsTemplateCompilerIOException - if the stream could not be located.Copyright © 2008-2016. All Rights Reserved.