public interface DataInputProvider extends DataProvider
DataProvider.type| Modifier and Type | Method and Description | 
|---|---|
int | 
getNbLines()
Gets the number of readable lines of current opened file. 
 | 
String[] | 
readLine(int line,
        boolean readResult)  | 
String | 
readValue(String column,
         int line)
Reads a cell of opened input file. 
 | 
getIndexData, getModel, getNbGherkinExample, getResultColumnName, isResultColumnNameAuthorized, prepare, setDataInPath, setDataOutPath, setIndexDataint getNbLines()
        throws TechnicalException
TechnicalException - if Wrong data file (IOException, EmptyDataFileContentException or WrongDataFileFormatException)String readValue(String column, int line) throws TechnicalException
column - index of the column to readline - index of the line to readTechnicalException - if Wrong data file (IOException, EmptyDataFileContentException or WrongDataFileFormatException)String[] readLine(int line, boolean readResult) throws TechnicalException
line - id of the line to read (line=0 for reading headers ; line=1 for reading 1st line, ...)readResult - true if result must be returned, false otherwiseTechnicalException - if Wrong data file (IOException, EmptyDataFileContentException or WrongDataFileFormatException)Copyright © 2023 NoraUi. All rights reserved.