类 ExcelDatastore

所有已实现的接口:
DatastoreInterface, Serializable, Cloneable

public class ExcelDatastore extends FileDatastore

Description: 通过Excel文件生成Datastore对象

Title:首亨软件 - 聚天平台

另请参阅:
  • 构造器详细资料

    • ExcelDatastore

      public ExcelDatastore()
  • 方法详细资料

    • load

      public boolean load(String path)
      加载Excel数据到数据集中
      指定者:
      load 在类中 FileDatastore
      参数:
      path - 文件路径,支持网络文件
      返回:
    • load

      public boolean load(ExcelFile excelFile)
      加载Excel文件到数据集中
      参数:
      excelFile - 文件解析对象
      返回:
    • getSheetIndex

      public int getSheetIndex()
    • setSheetIndex

      public ExcelDatastore setSheetIndex(int sheetIndex)
      设置读取的sheet页
      参数:
      sheetIndex - 从0开始
      返回: