org.scrashmeow.ojb.console
Class StringUtils

java.lang.Object
  |
  +--org.scrashmeow.ojb.console.StringUtils

public class StringUtils
extends java.lang.Object

A set of utilities for working with Strings.

Author:
Alexander Bibighaus

Constructor Summary
StringUtils()
           
 
Method Summary
static boolean isEmpty(java.lang.String val)
          Check to see if a string is null or empty.
static boolean isNotEmpty(java.lang.String val)
          Check to see if a string is non null and not empty.
 
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

isNotEmpty

public static boolean isNotEmpty(java.lang.String val)
Check to see if a string is non null and not empty.

Parameters:
val - the string
Returns:
a boolean indicating whether it is not empty

isEmpty

public static boolean isEmpty(java.lang.String val)
Check to see if a string is null or empty.

Parameters:
val - the string
Returns:
a boolean indicating whether it is empty


Copyright © 2003 Alexander Bibighaus et al. All Rights Reserved.