Here you can find the source of uncapitalize(String str)
public static String uncapitalize(String str)
//package com.java2s; public class Main { public static String uncapitalize(String str) { int strLen; if ((str == null) || ((strLen = str.length()) == 0)) { return str; }/* w ww . ja v a 2 s .c om*/ return new StringBuffer(strLen).append(Character.toLowerCase(str.charAt(0))).append(str.substring(1)) .toString(); } public static String toLowerCase(String str) { if (str == null) { return null; } return str.toLowerCase(); } }