public final class ConverterUtils extends Object
IDataModel and IDataSet.| Modifier and Type | Field and Description |
|---|---|
static String |
FORMULA_PREFIX |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.poi.ss.formula.EvaluationWorkbook |
newEvaluationWorkbook(org.apache.poi.ss.usermodel.Workbook workbook)
Creates an instance of new
EvaluationWorkbook from Workbook |
static org.apache.poi.ss.usermodel.Workbook |
newWorkbook()
Creates an instance of new
XSSFWorkbook. |
static org.apache.poi.ss.usermodel.Workbook |
newWorkbook(InputStream original)
Creates an instance of new
XSSFWorkbook from InputStream. |
static Class<? extends Object> |
resolveCellType(org.apache.poi.ss.usermodel.Cell c)
Returns a type of given
Cell value. |
static int |
resolveCellType(ICellValue c)
Returns a type of given
ICellValue value. |
static ICellValue |
resolveCellValue(org.apache.poi.ss.usermodel.Cell c)
Returns the new
CellValue from provided Cell. |
static ICellValue |
resolveCellValue(org.apache.poi.ss.usermodel.CellValue cellval)
Returns the new
CellValue from provided CellValue. |
static ICellValue |
resolveValueEval(org.apache.poi.ss.formula.eval.ValueEval valueEval)
Converts
ValueEval to ICellValue. |
public static final String FORMULA_PREFIX
public static ICellValue resolveCellValue(org.apache.poi.ss.usermodel.Cell c)
CellValue from provided Cell.public static ICellValue resolveCellValue(org.apache.poi.ss.usermodel.CellValue cellval)
CellValue from provided CellValue.public static Class<? extends Object> resolveCellType(org.apache.poi.ss.usermodel.Cell c)
Cell value.public static int resolveCellType(ICellValue c)
ICellValue value.
For types @see Cell.getCellType().public static ICellValue resolveValueEval(org.apache.poi.ss.formula.eval.ValueEval valueEval)
ValueEval to ICellValue.public static org.apache.poi.ss.usermodel.Workbook newWorkbook()
XSSFWorkbook.public static org.apache.poi.ss.usermodel.Workbook newWorkbook(InputStream original)
XSSFWorkbook from InputStream.public static org.apache.poi.ss.formula.EvaluationWorkbook newEvaluationWorkbook(org.apache.poi.ss.usermodel.Workbook workbook)
EvaluationWorkbook from WorkbookCopyright © 2016. All rights reserved.