public class ExcelDataRetriever extends DataRetriever
| Modifier and Type | Field and Description |
|---|---|
protected File |
excelFile |
protected org.apache.poi.ss.util.CellReference |
rangeRightBottom |
protected org.apache.poi.ss.util.CellReference |
rangeTopLeft |
protected String |
sheetName |
BOTH_SPACED_DELIMITER, dataFileDetails, DELIMITER, LEFT_SPACED_DELIMITER, RIGHT_SPACED_DELIMITER| Constructor and Description |
|---|
ExcelDataRetriever(String[] dataFile) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getData() |
static ExcelDataRetriever |
getExcelDataRetrieverType(String[] dataFile) |
List<String> |
parseCellData(org.apache.poi.ss.usermodel.Sheet sheet) |
List<String> |
parseRows(org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.util.CellReference[] crs) |
getDataRetrieverObject, processData, wrapLineSpaceprotected File excelFile
protected String sheetName
protected org.apache.poi.ss.util.CellReference rangeTopLeft
protected org.apache.poi.ss.util.CellReference rangeRightBottom
public ExcelDataRetriever(String[] dataFile)
public List<String> getData()
getData in class DataRetrieverpublic List<String> parseRows(org.apache.poi.ss.usermodel.Sheet sheet, org.apache.poi.ss.util.CellReference[] crs)
public static ExcelDataRetriever getExcelDataRetrieverType(String[] dataFile)
Copyright © 2018. All rights reserved.