util/com/innovanon/sjp/Util.java
/**
	 * @return the parameter with the first character capitalized
	 * @see java.lang.Character#toUpperCase (char)
	 */
@return the parameter with the first character capitalized
@see java.lang.Character#toUpperCase (char)
@return the parameter with the first character capitalized @see java . lang . Character#toUpperCase ( char )
public static String capitalize (String word) {
		if (word.isEmpty ()) throw new IllegalArgumentException (); 
		final char[] c    = word.toCharArray ();
		             c[0] = Character.toUpperCase (c[0]);
		             word = String.valueOf (c);
		return word;
	}
public static String capitalize ( String word ) { if ( word . isEmpty ( ) ) throw new IllegalArgumentException ( ) ; final char [ ] c = word . toCharArray ( ) ; c [ 0 ] = Character . toUpperCase ( c [ 0 ] ) ; word = String . valueOf ( c ) ; return word ; }
@return the parameter with the first character capitalized
 @see java.lang.Character#toUpperCase (char)
@return the parameter with the first character capitalized @see java . lang . Character#toUpperCase ( char )
// nothing to capitalize