Interface CSVRowPreprocessor
-
- All Known Implementing Classes:
PackMower,PackValuesConvertor
public interface CSVRowPreprocessor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanpreprocessRow(String csvFileName, Object[] row, int rowNum)Applied to data read from CSV file.
-
-
-
Method Detail
-
preprocessRow
boolean preprocessRow(@NotNull String csvFileName, @NotNull Object[] row, int rowNum)Applied to data read from CSV file. Can modify row or skip it completely. To skip row processor should return false.- Parameters:
csvFileName- CSV file namerow- row from the CSV filerowNum- row number in the CSV file- Returns:
- true if row should be preserved and false if it should be filtered out
-
-