Here you can find the source of csvString(Object[] objects)
public static String csvString(Object[] objects)
//package com.java2s; //License from project: Open Source License public class Main { /**/*from w w w.j a va2s . c o m*/ * Convert an array of objects to a CSV string */ public static String csvString(Object[] objects) { String str = objects[0].toString(); for (int i = 1; i < objects.length; i++) { str += "," + objects[i].toString(); } return str; } }