|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.cnes.sitools.util.Util
public final class Util
Utility Class
Method Summary | |
---|---|
static boolean |
isEmpty(java.lang.String object)
Check if object is null or empty |
static boolean |
isNotEmpty(java.lang.String object)
Check if object is not null and not empty |
static boolean |
isSet(java.lang.Object object)
Check if object is not null |
static boolean |
isTrue(java.lang.Object object)
Check if object is not null and not empty and text is "true". |
static boolean |
isValidEmail(java.lang.String email)
Check that email is a valid email Address |
static boolean |
isWindows()
Indicates if the current operating system is in the Windows family. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isSet(java.lang.Object object)
object
- Object
public static boolean isNotEmpty(java.lang.String object)
object
- the String to check
public static boolean isEmpty(java.lang.String object)
object
- the String to check
public static boolean isTrue(java.lang.Object object)
object
- the Object
public static boolean isValidEmail(java.lang.String email)
email
- the email Address String
public static boolean isWindows()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |