org.utgenome.gwt.widget.client
Class StringUtil

java.lang.Object
  extended by org.utgenome.gwt.widget.client.StringUtil

public class StringUtil
extends Object

Utiltiles for manipulating strings in GWT client codes

Author:
leo

Method Summary
static String join(List elementList, String separator)
           
static String join(String[] elementList, String separator)
          Join the given element list with the specified separator
static String joinWithWS(String[] elementList)
           
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

join

public static String join(String[] elementList,
                          String separator)
Join the given element list with the specified separator

Parameters:
elementList - a list of strings to join
separator - e.g., ",", " ", etc.
Returns:
the concatination of the strings in the elementList, separated by the separator

join

public static String join(List elementList,
                          String separator)

joinWithWS

public static String joinWithWS(String[] elementList)
Parameters:
elementList -
Returns:

unquote

public static String unquote(String s)


Copyright © 2007-2012 utgenome.org. All Rights Reserved.