|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evanmclean.evlib.escape.EscJavascript
public final class EscJavascript
Makes a string safe to use as a string literal inside a piece of Javascript code (does not add enclosing double quotes).
Method Summary | |
---|---|
String |
text(Object obj)
Makes a string safe to use as a string literal inside a piece of Javascript code (does not add enclosing double quotes). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String text(Object obj)
Makes a string safe to use as a string literal inside a piece of Javascript code (does not add enclosing double quotes).
obj
-
null
if obj
was null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |