Here you can find the source of convertArrayToString(Object param)
public static String convertArrayToString(Object param)
//package com.java2s; //License from project: Open Source License public class Main { public static String convertArrayToString(Object param) { String ids = ""; if (param != null) { for (String paramValue : (String[]) param) { ids += paramValue + ","; }/* w w w . j a va 2 s.c o m*/ ids = ids.replaceAll(",$", ""); } return ids; } }