This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | Returns: true if the string is null or is the empty stringa string reference to check string)Returns |
| private static boolean | |
| public static boolean | Returns: whether theString contains only printable characters.the str)String to be validated.Determines whether the |
| public static String | |
| private static String | Returns: the padded stringthe string which should appear at the end of the result string, int the minimum length the resulting string must have. Can be zero or negative, in
which case the input string is always returned. minLength, char the character to insert at the beginning of the result until the minimum length
is reached padChar)Returns a string, of length at least |
| StringUtils | back to summary |
|---|---|
| private StringUtils() | |
| isNullOrEmpty | back to summary |
|---|---|
| public static boolean isNullOrEmpty(String string) Returns This method was copied verbatim from Guava library method com.google.common.base.Strings#isNullOrEmpty(java.lang.String). | |
| isPrintableChar | back to summary |
|---|---|
| private static boolean isPrintableChar(char ch) | |
| isPrintableString | back to summary |
|---|---|
| public static boolean isPrintableString(String str) Determines whether the
| |
| padLeft | back to summary |
|---|---|
| public static String padLeft(String value, int minLength) Pads a given string on the left with leading 0's up the length. | |
| padStart | back to summary |
|---|---|
| private static String padStart(String string, int minLength, char padChar) Returns a string, of length at least
See This method was copied almost verbatim from Guava library method com.google.common.base.Strings#padStart(java.lang.String, int, char).
| |