|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.jknack.handlebars.Handlebars.Utils
public static class Handlebars.Utils
Utilities function like: escapeExpression(CharSequence) and
isEmpty(Object).
| Constructor Summary | |
|---|---|
Handlebars.Utils()
|
|
| Method Summary | |
|---|---|
static String |
escapeExpression(CharSequence input)
Escapes the characters in a String using HTML entities. |
static boolean |
isEmpty(Object value)
Evaluate the given object and return true is the object is considered empty. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Handlebars.Utils()
| Method Detail |
|---|
public static boolean isEmpty(Object value)
value - The object value.
public static String escapeExpression(CharSequence input)
Escapes the characters in a String using HTML entities.
For example:
"bread" & "butter"
"bread" & "butter"
input - the String to escape, may be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||