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 whenEForEachLoopItemListSource.CHARACTER_SEPARATED_VALUES
is selected.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListItemSourcePropsCharacterSeparatedValues()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCsvString()
The CSV string of values to be parsed.boolean
isTreatLineBreaksAsDelimiter()
Whether to treat line breaks in unquoted values as delimiters between values as well.void
setCsvString(String csvString)
The CSV string of values to be parsed.void
setTreatLineBreaksAsDelimiter(boolean treatLineBreaksAsDelimiter)
Whether to treat line breaks in unquoted values as delimiters between values as well.-
Methods inherited from class de.xima.fc.workflow.model.list_item_source.AListItemSourcePropsCsvFormat
getDelimiter, getEscapeChar, getQuoteCharClose, getQuoteCharOpen, isAllowDoubleQuoteEscape, isFilterEmpty, isTrim, setAllowDoubleQuoteEscape, setDelimiter, setEscapeChar, setFilterEmpty, setQuoteCharClose, setQuoteCharOpen, setTrim
-
-
-
-
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.
-
-