org.opensolaris.opengrok.util
Class StringUtils

java.lang.Object
  extended by org.opensolaris.opengrok.util.StringUtils

public final class StringUtils
extends java.lang.Object

Various String utility methoids.


Method Summary
static boolean isOnlyWhitespace(java.lang.String str)
          Returns true if the string is empty or only includes whitespace characters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isOnlyWhitespace

public static boolean isOnlyWhitespace(java.lang.String str)
Returns true if the string is empty or only includes whitespace characters.

Parameters:
str - the string to be checked
Returns:
tur if string is empty or only contains whitespace charadcters