galaxy.util
Class Normalize

java.lang.Object
  |
  +--galaxy.util.Normalize

public class Normalize
extends java.lang.Object


Constructor Summary
Normalize()
           
 
Method Summary
static java.lang.String normalize(java.lang.String str)
          Normalize from the C convention of seperating words in method and attribute names with underscores, to the Java convention of using initial caps to start a word.
static java.lang.String normalizeWithInitialCap(java.lang.String str)
          Like normalize, but the first character will be capitalized.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Normalize

public Normalize()
Method Detail

normalize

public static java.lang.String normalize(java.lang.String str)
Normalize from the C convention of seperating words in method and attribute names with underscores, to the Java convention of using initial caps to start a word.
Parameters:
str - the string to normalize
Returns:
the normalized string

normalizeWithInitialCap

public static java.lang.String normalizeWithInitialCap(java.lang.String str)
Like normalize, but the first character will be capitalized.
Parameters:
str - the string to normalize
Returns:
the normalized string