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.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `replace(String text, String searchString, String replacement)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### replace

          public static String replace(String text,
                       String searchString,
                       String replacement)

Copyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.