Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.opensymphony.oscache.util
Class StringUtil

    java.lang.Object
      com.opensymphony.oscache.util.StringUtil

public class StringUtil
extends java.lang.Object

Provides common utility methods for handling strings.

Author:
  Chris Miller

Constructor Summary
`StringUtil()`

Method Summary
`static java.util.List` | `split(java.lang.String str, char delimiter)` Splits a string into substrings based on the supplied delimiter character.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### StringUtil

    public StringUtil()

Method Detail

### split

    public static java.util.List split(java.lang.String str,
                                       char delimiter)

  Splits a string into substrings based on the supplied delimiter character. Each extracted substring will be trimmed of leading and trailing whitespace.

  Parameters:
    `str` - The string to split
    `delimiter` - The character that delimits the string
  Returns:
    A string array containing the resultant substrings

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| See www.opensymphony.com for more information.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD