net.sf.jbenchmark.util
Class StringUtil

java.lang.Object
  extended bynet.sf.jbenchmark.util.StringUtil

public class StringUtil
extends java.lang.Object

String utils provide the generic string manpiulation and check utilites for this package.

Version:
$Id: StringUtil.java,v 1.1 2004/06/30 01:49:17 twpatkua Exp $
Author:
Patrick Kua

Method Summary
static boolean isEmpty(java.lang.String string)
          Check if the string is considered an empty string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isEmpty

public static boolean isEmpty(java.lang.String string)
Check if the string is considered an empty string. This includes if there are any white space characters.

Parameters:
string - The string for testing.
Returns:
True if the string is null or if the trimmed string is an empty string, otherwise false.