ToChar.Capitalization

Represents a capitalization / casing strategy.

Methods
static ToChar.Capitalization toCapitalization(Boolean up1, Boolean up2)
Returns the capitalization / casing strategy which should be used when the first and second letters have the specified casing.
static ToChar.Capitalization toCapitalization(Boolean up1, Boolean up2)
Returns the capitalization / casing strategy which should be used when the first and second letters have the specified casing.
Parameters:
up1 - whether or not the first letter is uppercased
up2 - whether or not the second letter is uppercased
Returns:
the capitalization / casing strategy which should be used when the first and second letters have the specified casing
static ToChar.Capitalization valueOf(String name)
static ToChar.Capitalization valueOf(String name)
static ToChar.Capitalization[] values()
static ToChar.Capitalization[] values()
String apply(String s)
Applies this capitalization strategy to the specified string.
String apply(String s)
Applies this capitalization strategy to the specified string.
Parameters:
s - the string to apply this strategy to
Returns:
the resultant string