public static String camelize ( String s ) { StringBuilder sb = new StringBuilder ( ) ; String [ ] words = split ( StringUtils . toLowerCase ( s ) , ESCAPE_CHAR , ' ' ) ; for ( String word : words ) sb . append ( org . apache . commons . lang3 . StringUtils . capitalize ( word ) ) ; return sb . toString ( ) ; }
Convert SOME_STUFF to SomeStuff