public class ExcelWriteTools extends Object
| 构造器和说明 |
|---|
ExcelWriteTools() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
addSheet(ExcelSheet excelSheet,
File file)
添加一个sheet
|
static void |
addSheet(ExcelSheet excelSheet,
File file,
ExcelStyleCreator excelStyleCreator)
添加一个sheet
|
static void |
write(List<ExcelSheet> excelSheetList,
File file)
Excel导出方法,除了第一行列标题加粗外无任何样式
|
static void |
write(List<ExcelSheet> excelSheetList,
File file,
ExcelStyleCreator excelStyleCreator)
Excel导出方法,使用自定义的样式实现
|
public static void addSheet(ExcelSheet excelSheet, File file)
excelSheet - the excel sheetfile - the filepublic static void addSheet(ExcelSheet excelSheet, File file, ExcelStyleCreator excelStyleCreator)
excelSheet - the excel sheetfile - the fileexcelStyleCreator - the excel style creatorpublic static void write(List<ExcelSheet> excelSheetList, File file)
excelSheetList - the excel sheet listfile - the filepublic static void write(List<ExcelSheet> excelSheetList, File file, ExcelStyleCreator excelStyleCreator)
excelSheetList - the excel sheet listfile - the fileexcelStyleCreator - the excel style creatorCopyright © 2016. All rights reserved.