Package | Description |
---|---|
com.univocity.parsers.common.fields | |
com.univocity.parsers.conversions |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Integer,java.util.List<ValidatedConversion>> |
FieldConversionMapping.validationsByIndex |
Modifier and Type | Method and Description |
---|---|
static ValidatedConversion |
Conversions.noneOf(java.lang.String... noneOf)
Returns a new instance of
ValidatedConversion to validate values of a record
Nulls and blanks are not be allowed by default. |
static ValidatedConversion |
Conversions.notBlank()
Returns a
ValidatedConversion that doesn't allow null or blank values |
static ValidatedConversion |
Conversions.notBlank(java.lang.String regexToMatch)
Returns a
ValidatedConversion that verifies the format of a given value |
static ValidatedConversion |
Conversions.notNull()
Returns a
ValidatedConversion that doesn't allow null values |
static ValidatedConversion |
Conversions.oneOf(java.lang.String... oneOf)
Returns a new instance of
ValidatedConversion to validate values of a record
Nulls and blanks are not be allowed by default. |
static ValidatedConversion |
Conversions.validate(boolean nullable,
boolean allowBlanks)
Returns a
ValidatedConversion that checks for nulls or blank values. |
static ValidatedConversion |
Conversions.validate(boolean nullable,
boolean allowBlanks,
java.lang.String regexToMatch)
Returns a
ValidatedConversion that checks for nulls or blank values. |
static ValidatedConversion |
Conversions.validate(boolean nullable,
boolean allowBlanks,
java.lang.String[] oneOf,
java.lang.String[] noneOf)
Returns a new instance of
ValidatedConversion to validate values of a record |
static ValidatedConversion |
Conversions.validate(boolean nullable,
boolean allowBlanks,
java.lang.String[] oneOf,
java.lang.String[] noneOf,
java.lang.String regexToMatch)
Returns a new instance of
ValidatedConversion to validate values of a record |