public class Validate extends Object
Constructor and Description |
---|
Validate() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isEmpty(String string)
Checks if the given string is null or empty
|
static boolean |
isNotEmpty(String string)
Checks if the given string is not null nor empty
|
public static boolean isEmpty(String string)
string
- String to checkpublic static boolean isNotEmpty(String string)
string
- String to checkCopyright © 2017 JBoss by Red Hat. All rights reserved.