public interface ExcelBuilder
| Modifier and Type | Method and Description |
|---|---|
void |
addContent(Collection<?> data,
WriteSheet writeSheet)
Deprecated.
|
void |
addContent(Collection<?> 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)
Deprecated.
please use
OnceAbsoluteMergeStrategy |
WriteContext |
writeContext()
Gets the written data
|
@Deprecated void addContent(Collection<?> data, WriteSheet writeSheet)
addContent(Collection, WriteSheet, WriteTable)data - java basic type or java model extend BaseModelwriteSheet - Write the sheetvoid addContent(Collection<?> 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–2022 Alibaba Group. All rights reserved.