Liferay 7.0-ce-b4

com.liferay.util
Class JS

java.lang.Object
  extended by com.liferay.util.JS

public class JS
extends Object


Constructor Summary
JS()
           
 
Method Summary
static String decodeURIComponent(String s)
           
static String encodeURIComponent(String s)
           
static String escape(String s)
          Deprecated. As of 6.2.0, replaced by encodeURIComponent(java.lang.String)
static String getSafeName(String name)
           
static String toScript(String[] array)
           
static String unescape(String s)
          Deprecated. As of 6.2.0, replaced by decodeURIComponent(java.lang.String)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JS

public JS()
Method Detail

decodeURIComponent

public static String decodeURIComponent(String s)

encodeURIComponent

public static String encodeURIComponent(String s)

escape

@Deprecated
public static String escape(String s)
Deprecated. As of 6.2.0, replaced by encodeURIComponent(java.lang.String)


getSafeName

public static String getSafeName(String name)

toScript

public static String toScript(String[] array)

unescape

@Deprecated
public static String unescape(String s)
Deprecated. As of 6.2.0, replaced by decodeURIComponent(java.lang.String)


Liferay 7.0-ce-b4