public class ExportUtils extends Object
| 构造器和说明 |
|---|
ExportUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
ExportExcel(javax.servlet.http.HttpServletResponse response,
String sheetName,
List<Map<String,String>> list) |
static void |
exportExcel(javax.servlet.http.HttpServletResponse response,
String excelName,
List<Map<String,String>> title,
List<Map<String,String>> rowsList)
导出
|
static void |
exportExcelNoFollowTime(javax.servlet.http.HttpServletResponse response,
String excelName,
List<Map<String,String>> title,
List<Map<String,String>> rowsList)
导出
|
static void |
exportExcelZhTjSx(javax.servlet.http.HttpServletResponse response,
List<String> tjMap) |
static void |
main(String[] args) |
public static void ExportExcel(javax.servlet.http.HttpServletResponse response,
String sheetName,
List<Map<String,String>> list)
throws IOException
response - sheetName - 单元格名称list - 单元格的数据IOExceptionpublic static void exportExcel(javax.servlet.http.HttpServletResponse response,
String excelName,
List<Map<String,String>> title,
List<Map<String,String>> rowsList)
throws IOException
response - responseexcelName - 文件名title - 表头rowsList - 数据内容IOExceptionpublic static void exportExcelNoFollowTime(javax.servlet.http.HttpServletResponse response,
String excelName,
List<Map<String,String>> title,
List<Map<String,String>> rowsList)
throws IOException
response - responseexcelName - 文件名title - 表头rowsList - 数据内容IOExceptionpublic static void exportExcelZhTjSx(javax.servlet.http.HttpServletResponse response,
List<String> tjMap)
throws IOException
IOExceptionpublic static void main(String[] args)
Copyright © 2017–2021 cn.gtmap. All rights reserved.