类 CellValueServer
java.lang.Object
org.jeecgframework.poi.excel.imports.CellValueServer
Cell 取值服务 判断类型处理数据 1.判断Excel中的类型 2.根据replace替换值 3.handler处理数据 4.判断返回类型转化数据返回
- 作者:
- JEECG
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getValue(IExcelDataHandler dataHanlder, Object object, org.apache.poi.ss.usermodel.Cell cell, Map<String, ExcelImportEntity> excelParams, String titleString) 获取cell的值getValue(IExcelDataHandler dataHanlder, Object object, SaxReadCellEntity cellEntity, Map<String, ExcelImportEntity> excelParams, String titleString) 获取cell值String[]getValueArr(String val) 字典文本中含多个下划线横岗,取最后一个(解决空值情况)
-
构造器详细资料
-
CellValueServer
public CellValueServer()
-
-
方法详细资料
-
getValue
public Object getValue(IExcelDataHandler dataHanlder, Object object, org.apache.poi.ss.usermodel.Cell cell, Map<String, ExcelImportEntity> excelParams, String titleString) throws Exception获取cell的值- 参数:
object-excelParams-cell-titleString-- 抛出:
Exception
-
getValue
public Object getValue(IExcelDataHandler dataHanlder, Object object, SaxReadCellEntity cellEntity, Map<String, ExcelImportEntity> excelParams, String titleString) 获取cell值- 参数:
dataHanlder-object-cellEntity-excelParams-titleString-- 返回:
-
getValueArr
字典文本中含多个下划线横岗,取最后一个(解决空值情况)- 参数:
val-- 返回:
-