org.apache.myfaces.trinidad.util
Class StringUtils
java.lang.Object
org.apache.myfaces.trinidad.util.StringUtils
public final class StringUtils
- extends Object
This class contains String utilities. The code was taken from
Apache Commons, LANG project.
Reason is to provide an alternate method to java.lang.String.replace().
That method uses java.util.regex.Pattern.matcher(), which has a PERF
issue.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
replace
public static String replace(String text,
String searchString,
String replacement)
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.