Here you can find the source of pluralize(String name)
private static String pluralize(String name)
//package com.java2s; //License from project: Apache License public class Main { private static String pluralize(String name) { StringBuilder pluralized = new StringBuilder(name); return pluralized.append("s").toString(); }/* ww w. j a v a2s .c o m*/ }