util
Class StringTools

java.lang.Object
  extended by util.StringTools

public class StringTools
extends Object

Common methods for string manipulations.

Version:
August 8, 2007
Author:
Damian Johnson (atagar1@gmail.com)

Constructor Summary
StringTools()
           
 
Method Summary
static String getReadableConstant(String input)
          Provides a more readable version of constant names.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringTools

public StringTools()
Method Detail

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