See: Description
Class | Description |
---|---|
DMinMax |
Converts the input data to a Double and ensures that number is within a specified numeric range (inclusive).
|
Equals |
This constraint ensures that all input data is equal (to each other, or to a supplied constant value).
|
ForbidSubStr |
Converts the input to a String and ensures that it doesn't contain any of the supplied substrings.
|
IsElementOf |
This processor ensures that the input value is an element of a Collection.
|
IsIncludedIn |
This processor ensures that the input value belongs to a specific set of (unchangeable) values.
|
LMinMax |
Converts the input data to a Long and and ensures the value is between the supplied min and max values (inclusive).
|
NotNull |
This processor ensures that the input is not null.
|
RequireHashCode |
This processor converts the input to a String, and ensures that the input's hash function matches any of a given set
of hashcodes.
|
RequireSubStr |
Converts the input to a String and ensures that the input contains at least one of the specified substrings.
|
Strlen |
This processor ensures that the input String has a length equal to any of the supplied lengths.
|
StrMinMax |
This constraint ensures that the input data has a string length between the supplied min and max values (both
inclusive).
|
StrNotNullOrEmpty |
This processor checks if the input is null or an empty string, and raises an exception in that case.
|
StrRegEx |
This constraint ensures that the input data matches the given regular expression.
|
Unique |
Ensure that upon processing a CSV file (reading or writing), that values of the column all are unique.
|
UniqueHashCode |
Ensure that upon processing a CSV file (reading or writing), that values of the column are all unique.
|
Note however, that in order for these processors to carry out their constraint logic, they may convert the input data. For example, the Strlen constraint, given the number 17, converts it to the string "17" before doing its length check.
Copyright © 2007–2015 Super CSV. All rights reserved.