类 CustomCellService.CellRange

java.lang.Object
cn.isliu.core.service.CustomCellService.CellRange
封闭类:
CustomCellService

public static class CustomCellService.CellRange extends Object
单元格范围
  • 构造器详细资料

    • CellRange

      public CellRange()
      默认构造函数
    • CellRange

      public CellRange(String sheetId, String startPosition, String endPosition)
      构造函数
      参数:
      sheetId - 工作表ID
      startPosition - 开始位置
      endPosition - 结束位置
  • 方法详细资料

    • getRange

      public String getRange()
      获取单元格范围
      返回:
      单元格范围,格式为 !<开始位置>:<结束位置>
    • fromRange

      public static CustomCellService.CellRange fromRange(String range)
      从范围字符串解析
      参数:
      range - 单元格范围,格式为 !<开始位置>:<结束位置>
      返回:
      单元格范围对象
    • getSheetId

      public String getSheetId()
    • setSheetId

      public void setSheetId(String sheetId)
    • getStartPosition

      public String getStartPosition()
    • setStartPosition

      public void setStartPosition(String startPosition)
    • getEndPosition

      public String getEndPosition()
    • setEndPosition

      public void setEndPosition(String endPosition)