public static String capitalizePropertyName ( String s ) { if ( s . length ( ) == 0 ) { return s ; } char [ ] chars = s . toCharArray ( ) ; chars [ 0 ] = Character . toUpperCase ( chars [ 0 ] ) ; return new String ( chars ) ; }
Return a capitalized version of the specified property name .