com.alibaba.excel.util
类 WorkBookUtil
- java.lang.Object
-
- com.alibaba.excel.util.WorkBookUtil
public class WorkBookUtil extends Object
- 作者:
- jipengfei
-
方法概要
所有方法 静态方法 具体方法 限定符和类型 方法和说明 static org.apache.poi.ss.usermodel.Cell
createCell(org.apache.poi.ss.usermodel.Row row, int colNum)
static org.apache.poi.ss.usermodel.Cell
createCell(org.apache.poi.ss.usermodel.Row row, int colNum, org.apache.poi.ss.usermodel.CellStyle cellStyle)
static org.apache.poi.ss.usermodel.Cell
createCell(org.apache.poi.ss.usermodel.Row row, int colNum, org.apache.poi.ss.usermodel.CellStyle cellStyle, String cellValue)
static org.apache.poi.ss.usermodel.Cell
createCell(org.apache.poi.ss.usermodel.Row row, int colNum, String cellValue)
static org.apache.poi.ss.usermodel.Row
createRow(org.apache.poi.ss.usermodel.Sheet sheet, int rowNum)
static org.apache.poi.ss.usermodel.Sheet
createSheet(org.apache.poi.ss.usermodel.Workbook workbook, String sheetName)
static void
createWorkBook(WriteWorkbookHolder writeWorkbookHolder)
static void
fillDataFormat(WriteCellData<?> cellData, String format, String defaultFormat)
-
方法详细资料
createWorkBook
public static void createWorkBook(WriteWorkbookHolder writeWorkbookHolder) throws IOException
- 抛出:
-
IOException
createSheet
public static org.apache.poi.ss.usermodel.Sheet createSheet(org.apache.poi.ss.usermodel.Workbook workbook, String sheetName)
createRow
public static org.apache.poi.ss.usermodel.Row createRow(org.apache.poi.ss.usermodel.Sheet sheet, int rowNum)
createCell
public static org.apache.poi.ss.usermodel.Cell createCell(org.apache.poi.ss.usermodel.Row row, int colNum)
createCell
public static org.apache.poi.ss.usermodel.Cell createCell(org.apache.poi.ss.usermodel.Row row, int colNum, org.apache.poi.ss.usermodel.CellStyle cellStyle)
createCell
public static org.apache.poi.ss.usermodel.Cell createCell(org.apache.poi.ss.usermodel.Row row, int colNum, org.apache.poi.ss.usermodel.CellStyle cellStyle, String cellValue)
createCell
public static org.apache.poi.ss.usermodel.Cell createCell(org.apache.poi.ss.usermodel.Row row, int colNum, String cellValue)
fillDataFormat
public static void fillDataFormat(WriteCellData<?> cellData, String format, String defaultFormat)
Copyright © 2018–2021 Alibaba Group. All rights reserved.