|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.carrotsearch.junitbenchmarks.Escape
public final class Escape
Entity escaping.
Constructor Summary | |
---|---|
Escape()
|
Method Summary | |
---|---|
static String |
htmlEscape(String string)
Escape special HTML entities. |
static String |
jsonEscape(String string)
Escape a JSON string. |
static Object |
sqlEscape(String string)
Escape an SQL string. |
static String |
xmlAttrEscape(String string)
Escape XML attribute's value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Escape()
Method Detail |
---|
public static String htmlEscape(String string)
public static String jsonEscape(String string)
public static Object sqlEscape(String string)
public static String xmlAttrEscape(String string)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |