com.podio.common.CSVUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
The official Java wrapper for the Podio API
package com.podio.common;
import java.util.Arrays;
import java.util.Collection;
public final class CSVUtil {
private CSVUtil() {
}
public static String toCSV(Object... objects) {
return toCSV(Arrays.asList(objects));
}
public static String toCSV(Collection> objects) {
String out = "";
for (Object object : objects) {
if (out != "") {
out += "; ";
}
out += object;
}
return out;
}
}