Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
import org.joget.commons.util.CsvUtil; String[] values = new String[]{"apple", "banana", "", "orange"}; //result is apple,banana,orange String csv = CsvUtil.getDeliminatedString(values, CsvUtil.DEFAULT_DELIMINATOR, true);
public static final String DEFAULT_DELIMINATOR = ",";
public static java.lang.String getDeliminatedString(java.lang.String[] array)
Convert a String array as CSV
public static java.lang.String getDeliminatedString(java.lang.String[] array, java.lang.String deliminator)
Convert a String array as CSV with custom deliminator
public static java.lang.String getDeliminatedString(java.lang.String[] array, java.lang.String deliminator, boolean ignoreEmptyValue)
Convert a String array as CSV with custom deliminator. Option to remove empty String from result.
public static java.util.Map<java.lang.String, java.lang.String> getPluginPropertyMap(java.lang.String propertyString) throws java.io.IOException
Retrieve plugin properties from a CSV string.
Deprecated method used by Joget v2 to parse plugin properties from a CSV string. Since Joget v3, Joget introduced a better UI for plugin configuration, the properties are stored in JSON format.