Class PackValuesConvertor
- java.lang.Object
-
- jetbrains.buildServer.serverSide.maintenance.PackValuesConvertor
-
- All Implemented Interfaces:
CSVRowPreprocessor
public class PackValuesConvertor extends Object implements CSVRowPreprocessor
Converts strings into values.- Author:
- Leonid Bushuev from JetBrains
-
-
Constructor Summary
Constructors Constructor Description PackValuesConvertor(List<String> fieldNames, TableDef tableDef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
preprocessRow(String csvFileName, Object[] row, int rowNum)
Applied to data read from CSV file.
-
-
-
Method Detail
-
preprocessRow
public boolean preprocessRow(@NotNull String csvFileName, @NotNull Object[] row, int rowNum)
Description copied from interface:CSVRowPreprocessor
Applied to data read from CSV file. Can modify row or skip it completely. To skip row processor should return false.- Specified by:
preprocessRow
in interfaceCSVRowPreprocessor
- 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
-
-