Joget Workflow v6 Released

Check out the latest Joget Workflow v6 for many new features and improvements in user experience (UX), app maintainability and performance.

Skip to end of metadata
Go to start of metadata

Description

  • org.joget.commons.util.CsvUtil
  • Under wflow-commons module
  • Utility method used to deal with comma separated value (CSV)

Code Sample

Fields

DEFAULT_DELIMINATOR
public static final String DEFAULT_DELIMINATOR = ",";

Used as default deliminator of generate CSV string

Methods

getDeliminatedString
public static java.lang.String getDeliminatedString(java.lang.String[] array)

Convert a String array as CSV

getDeliminatedString
public static java.lang.String getDeliminatedString(java.lang.String[] array, java.lang.String deliminator)

Convert a String array as CSV with custom deliminator

getDeliminatedString
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.

getPluginPropertyMap
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.

 

  • No labels