Strings read by
the com.opencsv.CSVReader after it is processed.
This should only be used if you have a very good understanding and full
control of the data being processed. Good examples of a RowValidator would
be to ensure the number of columns in the row or, if you know what data are
in which column, check the format and type of data.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public void |
| isValid | back to summary |
|---|---|
| public boolean isValid(String[] row) Performs the validation check on the string and returns the result. While not called directly in opencsv it is in the interface to provide an easy way to test if the validator is functioning properly.
| |
| validate | back to summary |
|---|---|
| public void validate(String[] row) throws CsvValidationException Performs the validation check on the row (an array of
| |