Class ListItemSourcePropsCharacterSeparatedValues

    • Constructor Detail

      • ListItemSourcePropsCharacterSeparatedValues

        public ListItemSourcePropsCharacterSeparatedValues()
    • Method Detail

      • getCsvString

        public String getCsvString()
        The CSV string of values to be parsed. May contain placeholders.
        Returns:
        The string with the character separated values.
      • isTreatLineBreaksAsDelimiter

        public boolean isTreatLineBreaksAsDelimiter()
        Whether to treat line breaks in unquoted values as delimiters between values as well. When this option is enabled, the string 'a,b\nc,d' is interpreted as the 4 values 'a', 'b', 'c', 'd'. When this option is disabled, that string is interpreted as the 3 values 'a', 'b\nc', and 'c'

        When a value is quoted, line breaks are always part of the value itself.

        Returns:
        Whether to treat line breaks in unquoted values as delimiters.
      • setCsvString

        public void setCsvString​(String csvString)
        The CSV string of values to be parsed. May contain placeholders.
        Parameters:
        csvString - The string with the character separated values.
      • setTreatLineBreaksAsDelimiter

        public void setTreatLineBreaksAsDelimiter​(boolean treatLineBreaksAsDelimiter)
        Whether to treat line breaks in unquoted values as delimiters between values as well. When this option is enabled, the string 'a,b\nc,d' is interpreted as the 4 values 'a', 'b', 'c', 'd'. When this option is disabled, that string is interpreted as the 3 values 'a', 'b\nc', and 'c'

        When a value is quoted, line breaks are always part of the value itself.

        Parameters:
        treatLineBreaksAsDelimiter - Whether to treat line breaks in unquoted values as delimiters.