Class ConfigUtils

java.lang.Object
org.hisp.dhis.util.ConfigUtils

public class ConfigUtils extends Object
  • Constructor Details

    • ConfigUtils

      public ConfigUtils()
  • Method Details

    • getAsList

      public static List<String> getAsList(String value)
      Splits the given value on , and returns the values as a list. Trims each value and filters out null and empty values.
      Parameters:
      value - the value.
      Returns:
      the values as a List.
    • getAsArray

      public static String[] getAsArray(String value)
      Splits the given value on , and returns the values as an array. Trims each value and filters out null and empty values.
      Parameters:
      value - the value.
      Returns:
      the values as an array.