public enum HandlebarsCompiler extends java.lang.Enum<HandlebarsCompiler>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
compile(java.lang.String template,
java.util.Map<java.lang.String,java.lang.Object> variables) |
static HandlebarsCompiler |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HandlebarsCompiler[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HandlebarsCompiler INSTANCE
public static HandlebarsCompiler[] values()
for (HandlebarsCompiler c : HandlebarsCompiler.values()) System.out.println(c);
public static HandlebarsCompiler valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String compile(java.lang.String template, java.util.Map<java.lang.String,java.lang.Object> variables) throws java.io.IOException
java.io.IOException
Copyright © 2013. All Rights Reserved.