Uses of Class
icu.easyj.poi.excel.model.ExcelMapping
Packages that use ExcelMapping
-
Uses of ExcelMapping in icu.easyj.poi.excel.hook
Methods in icu.easyj.poi.excel.hook with parameters of type ExcelMappingModifier and TypeMethodDescriptionprotected voidAbstractListToExcelHook.createCustomFirstRow(Map<Object, Object> context, org.apache.poi.ss.usermodel.Sheet sheet, ExcelMapping mapping) 创建自定义内容的首行,并合并该所有列(注意:在头行上面的一行)protected voidAbstractListToExcelHook.createCustomFooterRow(Map<Object, Object> context, org.apache.poi.ss.usermodel.Sheet sheet, ExcelMapping mapping) 创建自定义内容的尾行,并合并该所有列voidAbstractListToExcelHook.onAfterCreateDataRows(Map<Object, Object> context, org.apache.poi.ss.usermodel.Sheet sheet, ExcelMapping mapping) default voidIListToExcelHook.onAfterCreateDataRows(Map<Object, Object> context, org.apache.poi.ss.usermodel.Sheet sheet, ExcelMapping mapping) “创建所有数据行之后” 触发的事件static voidListToExcelHookTrigger.onAfterCreateDataRows(org.apache.poi.ss.usermodel.Sheet sheet, ExcelMapping mapping) 触发 创建所有数据行之后 的事件voidAbstractListToExcelHook.onBeforeCreateHeadRow(Map<Object, Object> context, org.apache.poi.ss.usermodel.Sheet sheet, ExcelMapping mapping) default voidIListToExcelHook.onBeforeCreateHeadRow(Map<Object, Object> context, org.apache.poi.ss.usermodel.Sheet sheet, ExcelMapping mapping) “创建头行之前” 触发的事件static voidListToExcelHookTrigger.onBeforeCreateHeadRow(org.apache.poi.ss.usermodel.Sheet sheet, ExcelMapping mapping) 触发 创建头行之前 的事件 -
Uses of ExcelMapping in icu.easyj.poi.excel.model
Methods in icu.easyj.poi.excel.model that return ExcelMappingModifier and TypeMethodDescriptionstatic ExcelMappingExcelMapping.getMapping(Class<?> clazz) 获取属性与表格的映射关系ExcelMapping.setToExcelHookClasses(Class<? extends IListToExcelHook>[] toExcelHookClasses) Methods in icu.easyj.poi.excel.model with parameters of type ExcelMappingModifier and TypeMethodDescriptionstatic List<ExcelCellMapping>ExcelCellMapping.getCellMappingList(Class<?> clazz, ExcelMapping mapping) 获取属性与表格的映射关系static ExcelCellMappingExcelCellMapping.toMapping(ExcelCell anno, Class<?> clazz, Field f, ExcelMapping mapping) 注解转换为映射类对象 -
Uses of ExcelMapping in icu.easyj.poi.excel.util
Methods in icu.easyj.poi.excel.util with parameters of type ExcelMappingModifier and TypeMethodDescriptionstatic voidExcelRowUtils.createDataRows(org.apache.poi.ss.usermodel.Sheet sheet, List<?> dataList, ExcelMapping mapping) 创建数据行static voidExcelRowUtils.createHeadRow(org.apache.poi.ss.usermodel.Sheet sheet, ExcelMapping mapping) 创建头行static booleanExcelUtils.getHasNumberCell(org.apache.poi.ss.usermodel.Sheet sheet, ExcelMapping mapping) 获取Excel中实际的数据起始列号static booleanExcelRowUtils.isHeadRow(org.apache.poi.ss.usermodel.Row row, ExcelMapping mapping) 根据映射信息,判断该行是否为头行static <T> TExcelRowUtils.rowToObject(org.apache.poi.ss.usermodel.Row row, boolean hasNumberCell, org.apache.poi.ss.usermodel.Row headRow, Class<T> clazz, ExcelMapping mapping) 行数据转换为映射的类对象static voidExcelCellUtils.setCellStyle(org.apache.poi.ss.usermodel.Sheet sheet, ExcelMapping mapping, int headRowNum, boolean isBeforeWriteFile) 设置列样式