java.lang.Object |
↳ |
com.microstrategy.web.app.utils.JavaScriptHelper |
Class Overview
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.
Summary
Public Methods |
static
String
|
encodeJSCode(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.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
JavaScriptHelper
()
Public Methods
public
static
String
encodeJSCode
(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 |