Package com.microstrategy.web.app.utils
Class JavaScriptHelper
- java.lang.Object
-
- com.microstrategy.web.app.utils.JavaScriptHelper
-
public class JavaScriptHelper extends java.lang.Object
This class has some of the most commonly needed JavaScript utilities. All of the methods on this class are public static so that no instance is required.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Constructor Summary
Constructors Constructor Description JavaScriptHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
encodeJSCode(java.lang.String jsCode)
Delimits the Single Quote(') with a back slash single quote(\') for JavaScript It accepts the string to be encoded and returns the encoded string.
-
-
-
Method Detail
-
encodeJSCode
public static java.lang.String encodeJSCode(java.lang.String jsCode)
Delimits the Single Quote(') with a back slash single quote(\') for JavaScript It accepts the string to be encoded and returns the encoded string.- Parameters:
jsCode
- String value to be encoded- Returns:
- the encoded string
-
-