Class ValueUtil

java.lang.Object
io.wcm.devops.conga.generator.util.ValueUtil

public final class ValueUtil extends Object
Value utilities.
  • Method Details

    • stringToValue

      public static Object stringToValue(String valueString)
      Parses a string value and converts it to a value object (or list). Supports String, Number, Boolean, and lists of those separated by ",".
      Parameters:
      valueString - Value string.
      Returns:
      Parsed value
    • valueToString

      public static String valueToString(Object value)
      Convert a value to it's string representation.
      Parameters:
      value - Value
      Returns:
      String representation