public final class StringUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
endsWithWhitespace(java.lang.CharSequence charSeq)
Finds out if the given character sequence ends with a whitespace
character.
|
static boolean |
startsWithWhitespace(java.lang.CharSequence charSeq)
Finds out if the given character sequence starts with a whitespace
character.
|
public static boolean startsWithWhitespace(java.lang.CharSequence charSeq)
true
if the given character sequence is not empty
and starts with a whitespace character; false
otherwisejava.lang.NullPointerException
- if the given character sequence is
null
public static boolean endsWithWhitespace(java.lang.CharSequence charSeq)
true
if the given character sequence is not empty
and ends with a whitespace character; false
otherwisejava.lang.NullPointerException
- if the given character sequence is
null