Here you can find the source of deCapitalize(String noun)
public static String deCapitalize(String noun)
//package com.java2s; //License from project: Open Source License public class Main { public static String deCapitalize(String noun) { if (noun == null || noun.trim().length() == 0) { return noun; }//from w ww. jav a 2 s . c o m return Character.toLowerCase(noun.charAt(0)) + noun.substring(1); } }