com.univocity.parsers.common.DataValidationException .
By default, nulls and blanks are not allowed.
Commonly used for java beans processed using BeanProcessor and/or BeanWriterProcessor
Conversion, Conversions, BeanProcessor, BeanWriterProcessor
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true true if blanks are allowed, false otherwiseIndicates whether this field can be blank (i.e. contain 0 or more whitespaces, where
a whitespace is any character |
| public String | Returns: the regular expression that determines an expected format for the given valueEnsures that the value of this field matches a given regular expression. |
| public String[] | Returns: the sequence of disallowed valuesEnsures that the value of this field does is not an unwanted value. |
| public boolean | Returns: true true if nulls are allowed, false otherwiseIndicates whether this field can be |
| public String[] | Returns: the sequence of allowed valuesEnsures that the value of this field is one of a given set of alternatives |
| public Class | Returns: custom classes to be used to validate any value associated with this field.User provided implementations of |
| allowBlanks | back to summary |
|---|---|
| public boolean allowBlanks() Indicates whether this field can be blank (i.e. contain 0 or more whitespaces, where
a whitespace is any character
| |
| matches | back to summary |
|---|---|
| public String matches() Ensures that the value of this field matches a given regular expression.
| |
| noneOf | back to summary |
|---|---|
| public String[] noneOf() Ensures that the value of this field does is not an unwanted value.
| |
| nullable | back to summary |
|---|---|
| public boolean nullable() Indicates whether this field can be
| |
| oneOf | back to summary |
|---|---|
| public String[] oneOf() Ensures that the value of this field is one of a given set of alternatives
| |
| validators | back to summary |
|---|---|
| public Class User provided implementations of | |