bexee.util
Class StringUtils

java.lang.Object
  extended bybexee.util.StringUtils

public class StringUtils
extends java.lang.Object

Utility class for String values.

Version:
$Revision: 1.1 $, $Date: 2004/12/15 14:18:20 $
Author:
Pawel Kowalski

Constructor Summary
StringUtils()
           
 
Method Summary
static boolean isNullOrEmpty(java.lang.String stringToTest)
          Test whether a given String is null or empty.
static java.lang.String[] split(java.lang.String string)
          Split a String using the ":" separator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringUtils

public StringUtils()
Method Detail

isNullOrEmpty

public static boolean isNullOrEmpty(java.lang.String stringToTest)
Test whether a given String is null or empty.

Parameters:
stringToTest -
Returns:
boolean

split

public static java.lang.String[] split(java.lang.String string)
Split a String using the ":" separator. A null or empty String will result in a String array containing two empty Strings. A unseparable String (without the separator) will result in a String array with the values: {"", value}.

Parameters:
string -
Returns:
String[] with splitted Strings


Copyright © 2004 Berne University of Applied Sciences. All Rights Reserved.