|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ebmwebsourcing.easycommons.lang.StringHelper
public class StringHelper
| Constructor Summary | |
|---|---|
StringHelper()
|
|
| Method Summary | |
|---|---|
static boolean |
isNullOrEmpty(java.lang.String s)
Return true if the String is null, contains only space character or is empty. |
static java.lang.String |
nonNullValue(java.lang.Object obj)
Return an empty String if obj is null, otherwise
return obj.toString(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringHelper()
| Method Detail |
|---|
public static boolean isNullOrEmpty(java.lang.String s)
s - a string
public static java.lang.String nonNullValue(java.lang.Object obj)
String if obj is null, otherwise
return obj.toString().
obj -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||