The delimiter can be provided as either plain text or a regular expression.
The default delimiter is the regular expression \s*,\s*
which is
CSV with optional white space either side.
delimiter | The delimiter as a string. |
escape | An escape character to use. |
quote | An quote character to use. |
regexp | The delimiter as a regular expression. |
text | The value to parse. |
Example 1 | Tokenize comma separated values. |
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Required | No. |
The delimiter as a string.
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Required | No. |
An escape character to use.
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Required | No. |
An quote character to use.
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Required | No. |
The delimiter as a regular expression.
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Required | No. If missing the result of the conversion will be null. |
The value to parse.
Tokenize comma separated values.
java.io.IOException: No Resource found: org/oddjob/values/types/TokenizeExample.xml