类 ExcelExport

java.lang.Object
com.gdxsoft.easyweb.data.export.ExcelExport
所有已实现的接口:
IExport

public class ExcelExport extends Object implements IExport
  • 构造器详细资料

    • ExcelExport

      public ExcelExport(String lang)
    • ExcelExport

      public ExcelExport()
  • 方法详细资料

    • export

      public File export(ResultSet rs, String destXlsName) throws Exception
      从接口复制的说明: IExport
      输出Xls文件
      指定者:
      export 在接口中 IExport
      抛出:
      Exception
    • export

      public File export(DTTable table, String destXlsName) throws Exception
      导出Excel 数据
      指定者:
      export 在接口中 IExport
      抛出:
      Exception
    • export

      public File export(org.json.JSONObject json, String destXlsName) throws Exception
      json导出到Excel json格式{"DATA":[{{"0":{"V":"aaa"}},{"1":{"V":"BBB"}}},{{"0":{"V":"143214"}},{"1":{"V":"24234"}}}] ,"HEADER":[{{"0":{"V":"KKKK","ROWS":3}},{"1":{"V":"SSSS","COLS":2}}},{{"0":{"V":""}},{"1":{"V":"DFDSAFSAD"}}}]} 单元格中的ROWS代表合并几行,COLS代表合并几列
      参数:
      json -
      destXlsName -
      返回:
      抛出:
      Exception