| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: the given string, decapitalized.null is returned if null is passed as input; An empty
string is returned if an empty string is passed as inputthe string to decapitalize string)Returns the given string, with its first letter changed to lower-case unless the string starts with more than one upper-case letter, in which case the string will be returned unaltered. |
| public static String | |
| public static boolean | Returns: true if the string is null or only contains whitespacesthe string considered value)Indicates if the string is null or is empty ie only contains whitespaces. |
| public static String | |
| public static String | Returns: a string made up of the string representations of the given iterable members, separated by the given separator stringthe iterable to join iterable, String the separator string separator)Joins the elements of the given iterable to a string, separated by the given separator string. |
| private static boolean | |
| public static String | toShortString(Member member)
Creates a compact string representation of the given member, useful for debugging or toString() methods. |
| private static String | |
| private static String | |
| public static String | toShortString(Type type)
Creates a compact string representation of the given type, useful for debugging or toString() methods. |
| private static String | |
| private static String | |
| private static String |
| DOT | back to summary |
|---|---|
| private static final Pattern DOT | |
| StringHelper | back to summary |
|---|---|
| private StringHelper() | |
| decapitalize | back to summary |
|---|---|
| public static String decapitalize(String string) Returns the given string, with its first letter changed to lower-case unless the string starts with more than one upper-case letter, in which case the string will be returned unaltered.
Provided to avoid a dependency on the
| |
| format | back to summary |
|---|---|
| public static String format(String format, Object... args) | |
| isNullOrEmptyString | back to summary |
|---|---|
| public static boolean isNullOrEmptyString(String value) Indicates if the string is null or is empty ie only contains whitespaces.
| |
| join | back to summary |
|---|---|
| public static String join(Object[] array, String separator) Joins the elements of the given array to a string, separated by the given separator string. | |
| join | back to summary |
|---|---|
| public static String join(Iterable<?> iterable, String separator) Joins the elements of the given iterable to a string, separated by the given separator string. | |
| startsWithSeveralUpperCaseLetters | back to summary |
|---|---|
| private static boolean startsWithSeveralUpperCaseLetters(String string) | |
| toShortString | back to summary |
|---|---|
| public static String toShortString(Member member) Creates a compact string representation of the given member, useful for debugging or toString() methods. Package names are shortened, e.g. "org.hibernate.validator.internal.engine" becomes "o.h.v.i.e". Not to be used for user-visible log messages. | |
| toShortString | back to summary |
|---|---|
| private static String toShortString(Field field) | |
| toShortString | back to summary |
|---|---|
| private static String toShortString(Method method) | |
| toShortString | back to summary |
|---|---|
| public static String toShortString(Type type) Creates a compact string representation of the given type, useful for debugging or toString() methods. Package names are shortened, e.g. "org.hibernate.validator.internal.engine" becomes "o.h.v.i.e". Not to be used for user-visible log messages. | |
| toShortString | back to summary |
|---|---|
| private static String toShortString(Class<?> type) | |
| toShortString | back to summary |
|---|---|
| private static String toShortString(ParameterizedType parameterizedType) | |
| toShortString | back to summary |
|---|---|
| private static String toShortString(Package pakkage) | |