code: public static final String camelCase(String string) {
  
  		StringBuilder sb = new StringBuilder();
  
  		boolean upperFlag = false;
  
  		for (int i = 0; i < string.length(); i++) {
  			char ch = string.charAt(i);
  			if (ch == '-')
  				upperFlag = true;
  			else if (upperFlag && Character.isLetter(ch)) {
  				sb.append(Character.toUpperCase(ch));
  				upperFlag = false;
  			} else if (!upperFlag && Character.isLetter(ch))
  				sb.append(ch);
  			else if (ch == '_') // vendor extension
  				sb.append(ch);
  		}
  		return sb.toString();
  	}
docs: Converts string divided by dash ('-') characters into camelCase such as
  convenient for Java method names
  
  @param string
  String to convert
  @return CamelCase version of string