public interface ExcelBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addContent(List data,
WriteSheet writeSheet)
已过时。
please use
addContent(List, WriteSheet, WriteTable) |
void |
addContent(List data,
WriteSheet writeSheet,
WriteTable writeTable)
WorkBook increase value
|
void |
fill(Object data,
FillConfig fillConfig,
WriteSheet writeSheet)
WorkBook fill value
|
void |
finish(boolean onException)
Close io
|
void |
merge(int firstRow,
int lastRow,
int firstCol,
int lastCol)
已过时。
please use
OnceAbsoluteMergeStrategy |
WriteContext |
writeContext()
Gets the written data
|
@Deprecated void addContent(List data, WriteSheet writeSheet)
addContent(List, WriteSheet, WriteTable)data - java basic type or java model extend BaseModelwriteSheet - Write the sheetvoid addContent(List data, WriteSheet writeSheet, WriteTable writeTable)
data - java basic type or java model extend BaseModelwriteSheet - Write the sheetwriteTable - Write the tablevoid fill(Object data, FillConfig fillConfig, WriteSheet writeSheet)
data - fillConfig - writeSheet - @Deprecated void merge(int firstRow, int lastRow, int firstCol, int lastCol)
OnceAbsoluteMergeStrategyfirstRow - Index of first rowlastRow - Index of last row (inclusive), must be equal to or larger than firstRowfirstCol - Index of first columnlastCol - Index of last column (inclusive), must be equal to or larger than firstColWriteContext writeContext()
void finish(boolean onException)
onException - Copyright © 2018–2021 Alibaba Group. All rights reserved.