Class StringUtils
- java.lang.Object
-
- org.jbpm.designer.client.shared.util.StringUtils
-
public class StringUtils extends Object
String utility functions
-
-
Constructor Summary
Constructors Constructor Description StringUtils()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
createQuotedConstant(String str)
Puts strings inside quotes and numerics are left as they are.static String
createUnquotedConstant(String str)
Removes double-quotes from around a stringstatic boolean
isQuotedConstant(String str)
Returns true if string starts and ends with double-quoteString
urlDecode(String s)
URLDecode a stringString
urlEncode(String s)
URLEncode a string
-
-
-
Method Detail
-
createQuotedConstant
public static String createQuotedConstant(String str)
Puts strings inside quotes and numerics are left as they are.- Parameters:
str
-- Returns:
-
createUnquotedConstant
public static String createUnquotedConstant(String str)
Removes double-quotes from around a string- Parameters:
str
-- Returns:
-
isQuotedConstant
public static boolean isQuotedConstant(String str)
Returns true if string starts and ends with double-quote- Parameters:
str
-- Returns:
-
-