unannoy.util
Class Str

java.lang.Object
  |
  +--unannoy.util.Str

public class Str
extends java.lang.Object

Miscellaenous String utilities, notably the ability to check if a String is neither null or empty.

Version:
$Revision: 1.1.1.1 $
$Date: 2003/03/19 15:49:03 $
Author:
Eric Kow (kow at loria point fr)

Constructor Summary
Str()
           
 
Method Summary
static boolean notNullOrEmpty(java.lang.String str)
          Returns false if the String argument is null or is empty-length.
static boolean nullOrEmpty(java.lang.String str)
          Returns true if the String argument is null or is empty-length.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Str

public Str()
Method Detail

nullOrEmpty

public static boolean nullOrEmpty(java.lang.String str)
Returns true if the String argument is null or is empty-length.

Returns:
true if the String argument is null or is empty-length.

notNullOrEmpty

public static boolean notNullOrEmpty(java.lang.String str)
Returns false if the String argument is null or is empty-length.

Returns:
false if the String argument is null or is empty-length.