public class ExcelBuilderImpl extends Object implements ExcelBuilder
| 构造器和说明 |
|---|
ExcelBuilderImpl(WriteWorkbook writeWorkbook) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addContent(List data,
WriteSheet writeSheet)
WorkBook increase value
|
void |
addContent(List data,
WriteSheet writeSheet,
WriteTable writeTable)
WorkBook increase value
|
void |
finish()
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(List data, WriteSheet writeSheet)
ExcelBuilderaddContent 在接口中 ExcelBuilderdata - java basic type or java model extend BaseModelwriteSheet - Write the sheetpublic void addContent(List data, WriteSheet writeSheet, WriteTable writeTable)
ExcelBuilderaddContent 在接口中 ExcelBuilderdata - java basic type or java model extend BaseModelwriteSheet - Write the sheetwriteTable - Write the tablepublic void finish()
ExcelBuilderfinish 在接口中 ExcelBuilderpublic void merge(int firstRow,
int lastRow,
int firstCol,
int lastCol)
ExcelBuildermerge 在接口中 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 在接口中 ExcelBuilderCopyright © 2018–2019 Alibaba Group. All rights reserved.