|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nimbusds.oauth2.sdk.util.StringUtils
public class StringUtils
String utilities.
Method Summary | |
---|---|
static boolean |
isDefined(String s)
Returns true if the specified string is not null and
contains non-whitespace characters. |
static boolean |
isUndefined(String s)
Returns true if the specified string is null or
contains whitespace characters only. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isDefined(String s)
true
if the specified string is not null
and
contains non-whitespace characters.
s
- The string to check. May be null
.
true
if the string is not null
and contains
non-whitespace characters, else false
.public static boolean isUndefined(String s)
true
if the specified string is null
or
contains whitespace characters only.
s
- The string to check. May be null
.
true
if the string is null
or contains
whitespace characters only, else false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |