public final class ConverterUtils extends Object
IDataModel and IDataSet.| Modifier and Type | Field and Description |
|---|---|
static Set<String> |
ERRORS |
static String |
FORMULA_PREFIX |
| Modifier and Type | Method and Description |
|---|---|
static ICellValue |
createCellValue(Object value) |
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 Object |
resolveCellValueToObject(ICellValue 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 ICellValue createCellValue(Object value)
public static Object resolveCellValueToObject(ICellValue cellValue)
Copyright © 2015. All rights reserved.