public abstract static class AbstractXlsxSolutionImporter.XlsxInputBuilder<Solution_> extends AbstractSolutionImporter.InputBuilder
Modifier and Type | Field and Description |
---|---|
protected File |
inputFile |
protected org.apache.poi.xssf.usermodel.XSSFWorkbook |
workbook |
logger
Constructor and Description |
---|
XlsxInputBuilder() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertCellConstant(org.apache.poi.ss.usermodel.Cell cell,
String constant) |
String |
getInputId() |
protected double |
readDoubleCell(org.apache.poi.ss.usermodel.Cell cell) |
protected double |
readDoubleParameter(org.apache.poi.ss.usermodel.Row row,
String key) |
protected long |
readLongCell(org.apache.poi.ss.usermodel.Cell cell) |
protected org.apache.poi.xssf.usermodel.XSSFSheet |
readSheet(int index,
String name) |
abstract Solution_ |
readSolution() |
protected String |
readStringCell(org.apache.poi.ss.usermodel.Cell cell) |
protected String |
readStringParameter(org.apache.poi.ss.usermodel.Row row,
String key) |
void |
setInputFile(File inputFile) |
void |
setWorkbook(org.apache.poi.xssf.usermodel.XSSFWorkbook document) |
protected File inputFile
protected org.apache.poi.xssf.usermodel.XSSFWorkbook workbook
public void setInputFile(File inputFile)
public void setWorkbook(org.apache.poi.xssf.usermodel.XSSFWorkbook document)
public abstract Solution_ readSolution() throws IOException
IOException
public String getInputId()
protected org.apache.poi.xssf.usermodel.XSSFSheet readSheet(int index, String name)
protected void assertCellConstant(org.apache.poi.ss.usermodel.Cell cell, String constant)
protected long readLongCell(org.apache.poi.ss.usermodel.Cell cell)
protected double readDoubleCell(org.apache.poi.ss.usermodel.Cell cell)
protected String readStringCell(org.apache.poi.ss.usermodel.Cell cell)
protected String readStringParameter(org.apache.poi.ss.usermodel.Row row, String key)
protected double readDoubleParameter(org.apache.poi.ss.usermodel.Row row, String key)
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.