Converts the input data to a Double and ensures that number is within a specified numeric range (inclusive).
This constraint ensures that all input data is equal (to each other, or to a supplied constant value).
Converts the input to a String and ensures that it doesn't contain any of the supplied substrings.
This processor ensures that the input value is an element of a Collection.
This processor ensures that the input value belongs to a specific set of (unchangeable) values.
Converts the input data to a Long and and ensures the value is between the supplied min and max values (inclusive).
This processor ensures that the input is not null.
This processor converts the input to a String, and ensures that the input's hash function matches any of a given set of hashcodes.
Converts the input to a String and ensures that the input contains at least one of the specified substrings.
This processor ensures that the input String has a length equal to any of the supplied lengths.
This constraint ensures that the input data has a string length between the supplied min and max values (both inclusive).
This processor checks if the input is null or an empty string, and raises an exception in that case.
This constraint ensures that the input data matches the given regular expression.
Ensure that upon processing a CSV file (reading or writing), that values of the column all are unique.
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.