Class Summary Class Description DMinMaxConverts the input data to a Double and ensures that number is within a specified numeric range (inclusive). EqualsThis constraint ensures that all input data is equal (to each other, or to a supplied constant value). ForbidSubStrConverts the input to a String and ensures that it doesn't contain any of the supplied substrings. IsElementOfThis processor ensures that the input value is an element of a Collection. IsIncludedInThis processor ensures that the input value belongs to a specific set of (unchangeable) values. LMinMaxConverts the input data to a Long and and ensures the value is between the supplied min and max values (inclusive). NotNullThis processor ensures that the input is not null. RequireHashCodeThis processor converts the input to a String, and ensures that the input's hash function matches any of a given set of hashcodes. RequireSubStrConverts the input to a String and ensures that the input contains at least one of the specified substrings. StrlenThis processor ensures that the input String has a length equal to any of the supplied lengths. StrMinMaxThis constraint ensures that the input data has a string length between the supplied min and max values (both inclusive). StrNotNullOrEmptyThis processor checks if the input is null or an empty string, and raises an exception in that case. StrRegExThis constraint ensures that the input data matches the given regular expression. UniqueEnsure that upon processing a CSV file (reading or writing), that values of the column all are unique. UniqueHashCodeEnsure that upon processing a CSV file (reading or writing), that values of the column are all unique.
Package org.supercsv.cellprocessor.constraint Description
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.
SCaVis 2.2 © jWork.ORG