Class ListItemSourcePropsCharacterSeparatedValues
java.lang.Object
de.xima.fc.workflow.model.list_item_source.AListItemSourceProps
de.xima.fc.workflow.model.list_item_source.AListItemSourcePropsCsvFormat
de.xima.fc.workflow.model.list_item_source.ListItemSourcePropsCharacterSeparatedValues
- All Implemented Interfaces:
Serializable
public final class ListItemSourcePropsCharacterSeparatedValues
extends AListItemSourcePropsCsvFormat
Model class for the for-each loop, representing the settings when
EForEachLoopItemListSource.CHARACTER_SEPARATED_VALUES is selected.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe CSV string of values to be parsed.booleanWhether to treat line breaks in unquoted values as delimiters between values as well.voidsetCsvString(String csvString) The CSV string of values to be parsed.voidsetTreatLineBreaksAsDelimiter(boolean treatLineBreaksAsDelimiter) Whether to treat line breaks in unquoted values as delimiters between values as well.
-
Constructor Details
-
ListItemSourcePropsCharacterSeparatedValues
public ListItemSourcePropsCharacterSeparatedValues()
-
-
Method Details
-
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
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.
-