|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bibeault.frontman.utensils.JavascriptStringEncoder
public class JavascriptStringEncoder
| Constructor Summary | |
|---|---|
JavascriptStringEncoder()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
encode(java.lang.String source)
Encodes a source string such that the special Javascript string characters ,
and are escaped to make it safe to sue the string
within a Javascript string literal. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavascriptStringEncoder()
| Method Detail |
|---|
public static java.lang.String encode(java.lang.String source)
Encodes a source string such that the special Javascript string characters ,
and are escaped to make it safe to sue the string
within a Javascript string literal.
Notes:
source - the source string to encode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||