net.sf.appinfo.util
Class StringUtil
java.lang.Object
net.sf.appinfo.util.StringUtil
public final class StringUtil
- extends Object
Utility class with operation on String objects.
Custom class with operation on String objects created to remove library dependency on Spring.
- Since:
- 0.5.1
- Author:
- Marcin ZajÄ…czkowski, 2010-11-11
Method Summary |
static boolean |
hasText(String string)
Returns true for string object which contains text. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hasText
public static boolean hasText(String string)
- Returns true for string object which contains text.
String has text if is not equal null and have length > 0 after trimmed.
- Parameters:
string
- string object to evaluate
- Returns:
- true if string object contains text
false otherwise
Copyright © 2010-2011. All Rights Reserved.