| java.lang.Object com.lutris.util.JavaScriptEncoder
JavaScriptEncoder | public class JavaScriptEncoder (Code) | | This class contains a utility method for encoding a
String so that it may be safely used
within JavaScript as a quoted string.
The following characters are encoded:
author: Kyle Clark |
Method Summary | |
public static String | encode(String s) Translates a string into a JavaScript safe format. |
encode | public static String encode(String s)(Code) | | Translates a string into a JavaScript safe format.
Parameters: s - the string to encode the encoded string |
|
|