org.kuali.kfs.gl.service.impl
Class StringHelper

java.lang.Object
  extended by org.kuali.kfs.gl.ObjectHelper
      extended by org.kuali.kfs.gl.service.impl.StringHelper

public class StringHelper
extends ObjectHelper

Provides helper methods related to evaluating Strings


Constructor Summary
StringHelper()
           
 
Method Summary
static boolean isEmpty(String s)
          This method returns true if String object is empty and NOT null
static boolean isNullOrEmpty(String s)
          This method returns true if String object is null or empty
 
Methods inherited from class org.kuali.kfs.gl.ObjectHelper
isEqual, isOneOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringHelper

public StringHelper()
Method Detail

isEmpty

public static boolean isEmpty(String s)
This method returns true if String object is empty and NOT null

Parameters:
s - evaluated String
Returns:
true if String object is empty and NOT null

isNullOrEmpty

public static boolean isNullOrEmpty(String s)
This method returns true if String object is null or empty

Parameters:
s - evaluated String
Returns:
true if String object is null or empty


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.