Class StringHelper
- java.lang.Object
-
- org.eclipse.persistence.internal.helper.StringHelper
-
-
Field Summary
Fields Modifier and Type Field Description static char
CR
Carriage returnstatic char
DOT
Dot.static String
EMPTY_STRING
EmptyString
.static char
FF
Form feedstatic char
LEFT_BRACE
Left brace.static char
LEFT_BRACKET
Left bracket.static char
LF
Line feed.static String
NULL_STRING
"null"
String
.static char
QUESTION_MARK
Vertical bar.static char
RIGHT_BRACE
Right brace.static char
RIGHT_BRACKET
Right bracket.static char
SPACE
Space.static char
TAB
Horizontal tab.static char
VERTICAL_BAR
Vertical bar.
-
Constructor Summary
Constructors Constructor Description StringHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isBlank(String str)
static String
nonNullString(String str)
Never return null but replace it with"null"
String
.
-
-
-
Field Detail
-
TAB
public static final char TAB
Horizontal tab.- See Also:
- Constant Field Values
-
LF
public static final char LF
Line feed.- See Also:
- Constant Field Values
-
FF
public static final char FF
Form feed- See Also:
- Constant Field Values
-
CR
public static final char CR
Carriage return- See Also:
- Constant Field Values
-
SPACE
public static final char SPACE
Space.- See Also:
- Constant Field Values
-
LEFT_BRACE
public static final char LEFT_BRACE
Left brace.- See Also:
- Constant Field Values
-
RIGHT_BRACE
public static final char RIGHT_BRACE
Right brace.- See Also:
- Constant Field Values
-
LEFT_BRACKET
public static final char LEFT_BRACKET
Left bracket.- See Also:
- Constant Field Values
-
RIGHT_BRACKET
public static final char RIGHT_BRACKET
Right bracket.- See Also:
- Constant Field Values
-
DOT
public static final char DOT
Dot.- See Also:
- Constant Field Values
-
VERTICAL_BAR
public static final char VERTICAL_BAR
Vertical bar.- See Also:
- Constant Field Values
-
QUESTION_MARK
public static final char QUESTION_MARK
Vertical bar.- See Also:
- Constant Field Values
-
EMPTY_STRING
public static final String EMPTY_STRING
EmptyString
.- See Also:
- Constant Field Values
-
NULL_STRING
public static final String NULL_STRING
"null"
String
.- See Also:
- Constant Field Values
-
-