跳过导航链接
C E G I S 

C

com.github.andyczy.java.excel - 程序包 com.github.andyczy.java.excel
 
createFreezePane(SXSSFSheet, Integer) - 类 中的静态方法com.github.andyczy.java.excel.ExcelUtils
锁定行(固定表头) HashMap setPaneMap = new HashMap(); setPaneMap.put(1,3); //第一个表格、第三行开始固定表头

E

ExcelUtils - com.github.andyczy.java.excel中的类
 
ExcelUtils() - 类 的构造器com.github.andyczy.java.excel.ExcelUtils
 
exportForExcel(HttpServletResponse, List<List<String[]>>, HashMap, HashMap, HashMap, HashMap, HashMap, String, String[], String[], HashMap, HashMap, HashMap) - 类 中的静态方法com.github.andyczy.java.excel.ExcelUtils
功能描述: excel 数据导出、导出模板 更新日志: 1.response.reset();注释掉reset,否在会出现跨域错误。

G

getCellVal(Cell) - 类 中的静态方法com.github.andyczy.java.excel.ExcelUtils
功能描述: 获取Excel单元格中的值并且转换java类型格式

I

importForExcelData(Workbook, String[], HashMap, HashMap) - 类 中的静态方法com.github.andyczy.java.excel.ExcelUtils
功能描述: 1.excel 模板数据导入。
isBlank(String) - 类 中的静态方法com.github.andyczy.java.excel.ExcelUtils
判断字符串是否为空 源码:只是为了该类不引入其他 jar 包

S

setColumnWidth(SXSSFSheet, HashMap) - 类 中的静态方法com.github.andyczy.java.excel.ExcelUtils
功能描述: 自定义列宽 使用的方法: HashMap> mapSheet = new HashMap(); HashMap mapColumn = new HashMap(); mapColumn.put(0,5); //第一列,列宽为5 mapColumn.put(3,5); //第四列,列宽为5 mapSheet.put(1, mapColumn); //第一个元格列宽
setDataValidation(SXSSFSheet, List<String[]>, int) - 类 中的静态方法com.github.andyczy.java.excel.ExcelUtils
功能描述:下拉列表
setDataValidation(SXSSFSheet, String[], Integer, Integer, Integer, Integer) - 类 中的静态方法com.github.andyczy.java.excel.ExcelUtils
功能描述:下拉列表
setExcelCellStyles(Cell, SXSSFWorkbook, SXSSFRow, List<Object[]>, int) - 类 中的静态方法com.github.andyczy.java.excel.ExcelUtils
自定义某一行、列的样式
setExcelStyles(HashMap, Cell, SXSSFWorkbook, SXSSFRow, int, int) - 类 中的静态方法com.github.andyczy.java.excel.ExcelUtils
所有数据的样式(全加边框、不加粗、12号字体、居中、黑色字体)
setExcelStyles(Cell, SXSSFWorkbook, SXSSFRow, Integer, Boolean, Boolean, Boolean, Boolean, Boolean, Integer, Integer) - 类 中的静态方法com.github.andyczy.java.excel.ExcelUtils
 
setExcelStyles(Cell, SXSSFWorkbook, SXSSFRow, List<List<Object[]>>, int, int) - 类 中的静态方法com.github.andyczy.java.excel.ExcelUtils
 
setMergedRegion(SXSSFSheet, ArrayList<Integer[]>) - 类 中的静态方法com.github.andyczy.java.excel.ExcelUtils
功能描述: 1.excel 合并单元格 参数说明: List> setMergedRegion = new ArrayList<>(); List sheet1 = new ArrayList<>(); //第一个表格设置。
setMergedRegion(SXSSFSheet, int, int, int, int) - 类 中的静态方法com.github.andyczy.java.excel.ExcelUtils
合并单元格
C E G I S 
跳过导航链接

Copyright © 2018. All rights reserved.