Purpose: Define any useful String constants and methods that are missing from the base Java.
| Modifier and Type | Field and Description |
|---|---|
| public static final char | CR
Carriage return |
| public static final char | DOT
Dot. |
| public static final String | EMPTY_STRING
Empty |
| public static final char | FF
Form feed |
| public static final char | LEFT_BRACE
Left brace. |
| public static final char | LEFT_BRACKET
Left bracket. |
| public static final char | LF
Line feed. |
| public static final String | NULL_STRING
|
| public static final char | QUESTION_MARK
Vertical bar. |
| public static final char | RIGHT_BRACE
Right brace. |
| public static final char | RIGHT_BRACKET
Right bracket. |
| public static final char | SPACE
Space. |
| public static final char | TAB
Horizontal tab. |
| public static final char | VERTICAL_BAR
Vertical bar. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static final boolean | |
| public static final String | nonNullString(String
String to be checked for null and eventually replaced with
str)"null" String.Never return null but replace it with |
| CR | back to summary |
|---|---|
| public static final char CR Carriage return | |
| DOT | back to summary |
|---|---|
| public static final char DOT Dot. | |
| EMPTY_STRING | back to summary |
|---|---|
| public static final String EMPTY_STRING Empty | |
| FF | back to summary |
|---|---|
| public static final char FF Form feed | |
| LEFT_BRACE | back to summary |
|---|---|
| public static final char LEFT_BRACE Left brace. | |
| LEFT_BRACKET | back to summary |
|---|---|
| public static final char LEFT_BRACKET Left bracket. | |
| LF | back to summary |
|---|---|
| public static final char LF Line feed. | |
| NULL_STRING | back to summary |
|---|---|
| public static final String NULL_STRING
| |
| QUESTION_MARK | back to summary |
|---|---|
| public static final char QUESTION_MARK Vertical bar. | |
| RIGHT_BRACE | back to summary |
|---|---|
| public static final char RIGHT_BRACE Right brace. | |
| RIGHT_BRACKET | back to summary |
|---|---|
| public static final char RIGHT_BRACKET Right bracket. | |
| SPACE | back to summary |
|---|---|
| public static final char SPACE Space. | |
| TAB | back to summary |
|---|---|
| public static final char TAB Horizontal tab. | |
| VERTICAL_BAR | back to summary |
|---|---|
| public static final char VERTICAL_BAR Vertical bar. | |
| StringHelper | back to summary |
|---|---|
| public StringHelper() | |
| isBlank | back to summary |
|---|---|
| public static final boolean isBlank(final String str) Checks if | |
| nonNullString | back to summary |
|---|---|
| public static final String nonNullString(String str) Never return null but replace it with | |