util
Class StringTools
java.lang.Object
util.StringTools
public class StringTools
- extends Object
Common methods for string manipulations.
- Version:
- August 8, 2007
getReadableConstant
public static String getReadableConstant(String input)
- Provides a more readable version of constant names. Spaces replace underscores and this changes
the input to lowercase except the first letter of each word. For instance, "RARE_CARDS" would
become "Rare Cards".
- Parameters:
input
- string to be converted
- Returns:
- reader friendly variant of constant name