public class ExcelBuilderImpl extends Object implements ExcelBuilder
| Constructor and Description |
|---|
ExcelBuilderImpl(WriteWorkbook writeWorkbook) |
| Modifier and Type | Method and Description |
|---|---|
void |
addContent(Collection<?> data,
WriteSheet writeSheet)
WorkBook increase value
|
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)
Creates new cell range.
|
WriteContext |
writeContext()
Gets the written data
|
public ExcelBuilderImpl(WriteWorkbook writeWorkbook)
public void addContent(Collection<?> data, WriteSheet writeSheet)
ExcelBuilderaddContent in interface ExcelBuilderdata - java basic type or java model extend BaseModelwriteSheet - Write the sheetpublic void addContent(Collection<?> data, WriteSheet writeSheet, WriteTable writeTable)
ExcelBuilderaddContent in interface ExcelBuilderdata - java basic type or java model extend BaseModelwriteSheet - Write the sheetwriteTable - Write the tablepublic void fill(Object data, FillConfig fillConfig, WriteSheet writeSheet)
ExcelBuilderfill in interface ExcelBuilderpublic void finish(boolean onException)
ExcelBuilderfinish in interface ExcelBuilderpublic void merge(int firstRow,
int lastRow,
int firstCol,
int lastCol)
ExcelBuildermerge in interface ExcelBuilderfirstRow - 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 firstColpublic WriteContext writeContext()
ExcelBuilderwriteContext in interface ExcelBuilderCopyright © 2018–2023 Alibaba Group. All rights reserved.