|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.utgenome.gwt.utgb.client.util.StringUtil
public class StringUtil
Utiltiles for manipulating strings in GWT client codes
Method Summary | |
---|---|
static String |
formatNumber(int number)
insert commas to the given number for the readability |
static String |
join(List<String> elementList,
String separator)
|
static String |
join(String[] elementList,
String separator)
Join the given element list with the specified separator |
static String |
joinIterable(Iterable<String> element,
String separator)
|
static String |
joinWithWS(String[] elementList)
|
static int |
toInt(String sInt)
Convert a string representation of an integer with comma into an int value |
static String |
unquote(String s)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String join(String[] elementList, String separator)
elementList
- a list of strings to joinseparator
- e.g., ",", " ", etc.
public static String join(List<String> elementList, String separator)
public static String joinIterable(Iterable<String> element, String separator)
public static String joinWithWS(String[] elementList)
elementList
-
public static String unquote(String s)
public static int toInt(String sInt)
sInt
-
public static String formatNumber(int number)
number
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |