org.castor.core.util
Class StringUtil
java.lang.Object
org.castor.core.util.StringUtil
public class StringUtil
- extends Object
Common functionality relate to String processing.
- Since:
- 1.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringUtil
public StringUtil()
replaceAll
public static String replaceAll(String source,
String toReplace,
String replacement)
- Replaces all occurences of a pattern within a String.
- Parameters:
source
- The source string.toReplace
- The character to replace.replacement
- The replacement.
- Returns:
- The new String with characters replaced.
Copyright © 2012. All Rights Reserved.