public class ExcelLargeDataUtils
extends java.lang.Object
| 构造器和说明 |
|---|
ExcelLargeDataUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
exportData(java.sql.Connection connection,
java.lang.String[] headers,
java.lang.String[] columns,
java.lang.String sql,
java.lang.String exportFilePath) |
static void |
exportData(java.sql.Connection connection,
java.lang.String[] headers,
java.lang.String[] columns,
java.lang.String sql,
java.lang.String exportFilePath,
top.jfunc.common.ProgressNotifier progress) |
static void |
exportData(top.jfunc.common.db.DBHelper helper,
java.lang.String[] headers,
java.lang.String[] columns,
java.lang.String sql,
java.lang.String exportFilePath) |
static void |
exportData(top.jfunc.common.db.DBHelper helper,
java.lang.String[] headers,
java.lang.String[] columns,
java.lang.String sql,
java.lang.String exportFilePath,
top.jfunc.common.ProgressNotifier progress) |
public static void exportData(top.jfunc.common.db.DBHelper helper,
java.lang.String[] headers,
java.lang.String[] columns,
java.lang.String sql,
java.lang.String exportFilePath)
throws java.lang.Exception
java.lang.Exceptionpublic static void exportData(java.sql.Connection connection,
java.lang.String[] headers,
java.lang.String[] columns,
java.lang.String sql,
java.lang.String exportFilePath)
throws java.lang.Exception
java.lang.Exceptionpublic static void exportData(top.jfunc.common.db.DBHelper helper,
java.lang.String[] headers,
java.lang.String[] columns,
java.lang.String sql,
java.lang.String exportFilePath,
top.jfunc.common.ProgressNotifier progress)
throws java.lang.Exception
helper:提供数据库连接的 - headers:导出文件列标题 - columns:导出数据对应库字段 - sql:导出SQL查询语句 - exportFilePath:导出文件保存路径 - java.lang.Exception - Exceptionpublic static void exportData(java.sql.Connection connection,
java.lang.String[] headers,
java.lang.String[] columns,
java.lang.String sql,
java.lang.String exportFilePath,
top.jfunc.common.ProgressNotifier progress)
throws java.lang.Exception
connection:数据库连接 - headers:导出文件列标题 - columns:导出数据对应库字段 - sql:导出SQL查询语句 - exportFilePath:导出文件保存路径 - java.lang.Exception - Exception