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 |
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(List data, WriteSheet writeSheet)
ExcelBuilder
addContent
在接口中 ExcelBuilder
data
- java basic type or java model extend BaseModelwriteSheet
- Write the sheetpublic void addContent(List data, WriteSheet writeSheet, WriteTable writeTable)
ExcelBuilder
addContent
在接口中 ExcelBuilder
data
- java basic type or java model extend BaseModelwriteSheet
- Write the sheetwriteTable
- Write the tablepublic void fill(Object data, FillConfig fillConfig, WriteSheet writeSheet)
ExcelBuilder
fill
在接口中 ExcelBuilder
public void finish(boolean onException)
ExcelBuilder
finish
在接口中 ExcelBuilder
public void merge(int firstRow, int lastRow, int firstCol, int lastCol)
ExcelBuilder
merge
在接口中 ExcelBuilder
firstRow
- Index of first rowlastRow
- Index of last row (inclusive), must be equal to or larger than firstRow
firstCol
- Index of first columnlastCol
- Index of last column (inclusive), must be equal to or larger than firstCol
public WriteContext writeContext()
ExcelBuilder
writeContext
在接口中 ExcelBuilder
Copyright © 2018–2021 Alibaba Group. All rights reserved.