|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.jknack.handlebars.helper.PrecompileHelper
public final class PrecompileHelper
Precompiled a template to JavaScript using handlebars.js.
| Field Summary | |
|---|---|
static Helper<String> |
INSTANCE
The default and shared instance. |
static String |
NAME
The default helper's name. |
| Method Summary | |
|---|---|
CharSequence |
apply(String path,
Options options)
Callback method for execute the given method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NAME
public static final Helper<String> INSTANCE
| Method Detail |
|---|
public CharSequence apply(String path,
Options options)
throws IOException
Helper
apply in interface Helper<String>path - The context object (param=0).options - The options object.
IOException - If a template cannot be loaded.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||