public final class StringUtils extends Object
Modifier and Type | Method | Description |
---|---|---|
static boolean |
isBlank(CharSequence cs) |
Returns
true if the specified char sequence is all blank,
empty or null . |
static boolean |
isNotBlank(CharSequence cs) |
Returns
true if the specified char sequence is not all
blank, not empty and not null . |
public static boolean isBlank(CharSequence cs)
true
if the specified char sequence is all blank,
empty or null
.cs
- The char sequence. May be null
.true
if the specified char sequence is all blank,
empty or null
, else false
.public static boolean isNotBlank(CharSequence cs)
true
if the specified char sequence is not all
blank, not empty and not null
.cs
- The char sequence. May be null
.true
if the specified char sequence is not all
blank, not empty and not null
, else false
.Copyright © 2018 Connect2id Ltd.. All rights reserved.