peer2me.util
Class TextUtil

java.lang.Object
  extended by peer2me.util.TextUtil

public class TextUtil
extends java.lang.Object

A simple class for manipulating strings.

Author:
Tommy Bjoernsgaard

Constructor Summary
TextUtil()
           
 
Method Summary
static java.lang.String[] split(java.lang.String text, char splitCharacter)
          A method to split strings into an array based on a character
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextUtil

public TextUtil()
Method Detail

split

public static java.lang.String[] split(java.lang.String text,
                                       char splitCharacter)
A method to split strings into an array based on a character

Parameters:
text - The string to split
splitCharacter - The char which will divide the string
Returns:
An array of strings