public class ExcelWriteWrapper extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ExcelWriteWrapper |
boxValue(Map<String,String[]> boxValues)
Set dropdown box value.
|
static ExcelWriteWrapper |
build()
Build a write wrapper
|
static ExcelWriteWrapper |
build(List<?> data)
Build a write wrapper
|
static ExcelWriteWrapper |
build(String fileName,
List<?> data)
Build a write wrapper
|
ExcelWriteWrapper |
data(List<?> data)
Set data
|
ExcelWriteWrapper |
fileName(String fileName)
Set excel file name
|
ExcelWriteWrapper |
ignores(String... ignores)
Which table heads to be ignored when exporting
|
ExcelWriteWrapper |
listener(ExcelWriteListener writeListener)
Add write listener
|
ExcelWriteWrapper |
listener(List<ExcelWriteListener> writeListeners)
Add write listener
|
ExcelWriteWrapper |
title(BigTitle bigTitle)
Set excel big title.
|
public static ExcelWriteWrapper build()
public static ExcelWriteWrapper build(List<?> data)
data - The data to be exportedpublic static ExcelWriteWrapper build(String fileName, List<?> data)
data - The data to be exportedfileName - Excel file namepublic ExcelWriteWrapper listener(ExcelWriteListener writeListener)
writeListener - writeListenerpublic ExcelWriteWrapper listener(List<ExcelWriteListener> writeListeners)
writeListeners - writeListenerpublic ExcelWriteWrapper title(BigTitle bigTitle)
BigTitlebigTitle - big titlepublic ExcelWriteWrapper data(List<?> data)
data - The data to be exportedpublic ExcelWriteWrapper boxValue(Map<String,String[]> boxValues)
ExcelDropdownBoxboxValues - box value mappublic ExcelWriteWrapper ignores(String... ignores)
ignores - ignore headpublic ExcelWriteWrapper fileName(String fileName)
fileName - Excel file nameCopyright © 2020. All rights reserved.