Configuration
Jodd Props behavior can be fine-tuned using the following configuration settings:
Specifies the new line string when EOL is escaped. Default value is an empty string, so multi-line values will be joined in single-line value. If this value is set to, e.g.,
\n
, multi-line values will be persisted as multi-lines.Specifies if values should be trimmed from the left.
Specifies if values should be trimmed from the right.
Defines if the leading whitespaces should be ignored when value is split into the lines (by escaping EOL). By default it is set to
true
, so the following multi-line props:key1=line1\
line2\
line3
will be read as
line1line2line3
(joined).Flag for skipping empty properties.
When set, duplicate props key will not override existing one, but will be appended and separated by comma.
When enabled (default), multi-line values may be written in more convenient way using triple-quote (like in python). Everything between triple-quotes is considered as a value, so new line does not need to be escaped.
Last modified 2yr ago