com.iwombat.util
Class StringUtil

java.lang.Object
  extended by com.iwombat.util.StringUtil

public final class StringUtil
extends java.lang.Object

Class StringUtil Description: General utilities for string manipulation


Method Summary
static java.lang.String replaceString(java.lang.String target, java.lang.String match, java.lang.String replace)
          Method replaceString Description: replace all occurances of substring with another
static java.util.ArrayList splitString(java.lang.String valueList, java.lang.String delimiter)
          Method splitString Description: Split a delimited string into an ArrayList Much like the perl split function
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

replaceString

public static java.lang.String replaceString(java.lang.String target,
                                             java.lang.String match,
                                             java.lang.String replace)
Method replaceString Description: replace all occurances of substring with another

Parameters:
target - - the target string
match - - the substring to be replaced
replace - - the replacement for match
Returns:
String

splitString

public static java.util.ArrayList splitString(java.lang.String valueList,
                                              java.lang.String delimiter)
Method splitString Description: Split a delimited string into an ArrayList Much like the perl split function

Parameters:
valueList -
delimiter -
Returns:
$returnType