Notations instead.@Deprecated
public final class CamelCase
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
cat(java.lang.String... strings)
Deprecated.
Concatenates the given
strings, with the first letter of each string except the first string
capitalized. |
static java.lang.String |
toHyphenSeparated(java.lang.String s)
Deprecated.
Breaks the string up into words at upper-case letters, and the concatenates the words with hyphens.
|
static java.lang.String |
toLowerCamelCase(java.lang.String s)
Deprecated.
|
static java.lang.String |
toUpperCamelCase(java.lang.String s)
Deprecated.
|
static java.lang.String |
toUpperCaseUnderscoreSeparated(java.lang.String s)
Deprecated.
Converts the camel-case string s into a capitalized string with words separated with underscores.
|
public static java.lang.String cat(java.lang.String... strings)
strings, with the first letter of each string except the first string
capitalized.
Examples:
"list", "length" | => | "listLength" |
"My", "class" | => | "MyClass" |
"oneTwo", "threeFour" | => | "oneTwoThreefour" |
java.lang.ArrayIndexOutOfBoundsException - strings.length was zerojava.lang.IndexOutOfBoundsException - One of the strings has zero lengthjava.lang.NullPointerException - One of the strings was nullpublic static java.lang.String toLowerCamelCase(java.lang.String s)
public static java.lang.String toUpperCamelCase(java.lang.String s)
public static java.lang.String toHyphenSeparated(java.lang.String s)
public static java.lang.String toUpperCaseUnderscoreSeparated(java.lang.String s)