程序包 com.sh.util

类 Excel2007Info

java.lang.Object
com.sh.util.Excel2007Info

@Deprecated public class Excel2007Info extends Object
已过时。

Description: Excel 2007信息

Title:首亨软件 - TSS/CRM等

从以下版本开始:
Aug 6, 2012
  • 构造器详细资料

    • Excel2007Info

      public Excel2007Info(File file)
      已过时。
      构造函数
      参数:
      file - xls文件的路径
  • 方法详细资料

    • getSheetNum

      public int getSheetNum()
      已过时。
      获取sheet数量
      返回:
      int
    • getSheetIndex

      public int getSheetIndex(String sheetName)
      已过时。
      根据sheet名称获取sheet数据
      参数:
      sheetName - String
      返回:
      int
    • getRowCount

      public int getRowCount(int sheetIndex)
      已过时。
      获取行数
      参数:
      sheetIndex - int
      返回:
      int
    • getRows

      public Excel2007CacheRows getRows(int sheetIndex, int rowNo)
      已过时。
      获取行
      参数:
      sheetIndex - int
      rowNo - int
      返回:
      Excel2007CacheRows
    • getValue

      public String getValue(int sheetIndex, int rowNo, int cellNo)
      已过时。
      获取单元格的值
      参数:
      sheetIndex - sheet号
      rowNo - 行号 从0开始
      cellNo - 列号 从0开始
      返回:
      String
    • parseSharedStrings

      public void parseSharedStrings()
      已过时。
    • parseRows

      public void parseRows()
      已过时。
      解析行
    • close

      public void close()
      已过时。
      清除缓存