类 PoiCellUtil

java.lang.Object
org.jeecgframework.poi.util.PoiCellUtil

public class PoiCellUtil extends Object
处理单元格的数值
作者:
liusq
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    static String
    getCellValue(org.apache.poi.ss.usermodel.Cell cell)
    获取单元格的值 _NONE(-1), NUMERIC(0), STRING(1), FORMULA(2), BLANK(3), BOOLEAN(4), ERROR(5);
    static String
    getCellValue(org.apache.poi.ss.usermodel.Sheet sheet, int row, int column)
    读取单元格的值
    static String
    getMergedRegionValue(org.apache.poi.ss.usermodel.Sheet sheet, int row, int column)
    获取合并单元格的值
    static boolean
    isMergedRegion(org.apache.poi.ss.usermodel.Sheet sheet, int row, int column)
    判断指定的单元格是否是合并单元格

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • PoiCellUtil

      public PoiCellUtil()
  • 方法详细资料

    • getCellValue

      public static String getCellValue(org.apache.poi.ss.usermodel.Sheet sheet, int row, int column)
      读取单元格的值
      参数:
      sheet -
      row -
      column -
      返回:
    • getMergedRegionValue

      public static String getMergedRegionValue(org.apache.poi.ss.usermodel.Sheet sheet, int row, int column)
      获取合并单元格的值
      参数:
      sheet -
      row -
      column -
      返回:
    • isMergedRegion

      public static boolean isMergedRegion(org.apache.poi.ss.usermodel.Sheet sheet, int row, int column)
      判断指定的单元格是否是合并单元格
      参数:
      sheet -
      row -
      column -
      返回:
    • getCellValue

      public static String getCellValue(org.apache.poi.ss.usermodel.Cell cell)
      获取单元格的值 _NONE(-1), NUMERIC(0), STRING(1), FORMULA(2), BLANK(3), BOOLEAN(4), ERROR(5);
      参数:
      cell -
      返回: