Here you can find the source of toCamelCase(String value)
public static String toCamelCase(String value)
//package com.java2s; //License from project: Open Source License public class Main { public static String toCamelCase(String value) { if (!Character.isLowerCase(value.charAt(0))) { value = value.substring(0, 1).toLowerCase() + value.substring(1); }// w w w. ja v a2 s .c o m return value; } }