public abstract class AbstractExcelExportAppProvider extends AbstractProvider implements ExcelExportAppProvider
CURRENT_LEVEL, MARK_STRING
构造器和说明 |
---|
AbstractExcelExportAppProvider() |
限定符和类型 | 方法和说明 |
---|---|
AppExporter<java.lang.Boolean> |
createAppExporter(ExportCollection collection,
ExcelExportType exportType,
ReportSessionIDInfor sessionIDInfor)
导出器
|
ExportCollection |
createLargeDataExportCollection(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
ReportSessionIDInfor sessionIDInfor,
java.lang.String fileName,
ExcelExportType type)
大数据量Excel导出时的操作方式
|
int |
currentAPILevel()
当前接口的API等级,用于判断是否需要升级插件
|
java.lang.String |
mark4Provider()
获取当前provider的标记(可以使用类路径保证唯一)以避免provider的重复加载
|
equals, hashCode
exportType
public int currentAPILevel()
Level
currentAPILevel
在接口中 Level
public java.lang.String mark4Provider()
Provider
mark4Provider
在接口中 Provider
mark4Provider
在类中 AbstractProvider
public ExportCollection createLargeDataExportCollection(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, ReportSessionIDInfor sessionIDInfor, java.lang.String fileName, ExcelExportType type)
ExcelExportAppProvider
createLargeDataExportCollection
在接口中 ExcelExportAppProvider
req
- HTTP请求res
- HTTP响应sessionIDInfor
- 报表的会话信息fileName
- 文件名type
- 导出类型public AppExporter<java.lang.Boolean> createAppExporter(ExportCollection collection, ExcelExportType exportType, ReportSessionIDInfor sessionIDInfor)
ExcelExportAppProvider
createAppExporter
在接口中 ExcelExportAppProvider
collection
- 操作方式exportType
- 导出类型sessionIDInfor
- 报表的会话信息