[Index]

tokenizer


Tokenizes text. This type provides conversion to an array or list of strings.

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.


Property Summary

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 Summary

Example 1 Tokenize comma separated values.

Property Detail

delimiter

Configured ByATTRIBUTE
AccessREAD_WRITE
RequiredNo.

The delimiter as a string.

escape

Configured ByATTRIBUTE
AccessREAD_WRITE
RequiredNo.

An escape character to use.

quote

Configured ByATTRIBUTE
AccessREAD_WRITE
RequiredNo.

An quote character to use.

regexp

Configured ByATTRIBUTE
AccessREAD_WRITE
RequiredNo.

The delimiter as a regular expression.

text

Configured ByATTRIBUTE
AccessREAD_WRITE
RequiredNo. If missing the result of the conversion will be null.

The value to parse.


Examples

Example 1

Tokenize comma separated values.

java.io.IOException: No Resource found: org/oddjob/values/types/TokenizeExample.xml


(c) Rob Gordon 2005 - 2013