org.kuali.kfs.gl.service.impl
Class StringHelper
java.lang.Object
org.kuali.kfs.gl.ObjectHelper
org.kuali.kfs.gl.service.impl.StringHelper
public class StringHelper
- extends ObjectHelper
Provides helper methods related to evaluating Strings
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringHelper
public StringHelper()
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.