public interface ExcelBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addContent(List data,
int startRow)
workBook increase data
|
void |
addContent(List data,
Sheet sheetParam)
WorkBook increase data
|
void |
addContent(List data,
Sheet sheetParam,
Table table)
WorkBook increase data
|
void |
finish()
Close io
|
void |
merge(int firstRow,
int lastRow,
int firstCol,
int lastCol)
Creates new cell range.
|
void addContent(List data, int startRow)
data - java basic type or java model extend BaseModelstartRow - Start row numbervoid addContent(List data, Sheet sheetParam)
data - java basic type or java model extend BaseModelsheetParam - Write the sheetvoid addContent(List data, Sheet sheetParam, Table table)
data - java basic type or java model extend BaseModelsheetParam - Write the sheettable - Write the tablevoid merge(int firstRow,
int lastRow,
int firstCol,
int lastCol)
firstRow - 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 firstColvoid finish()
Copyright © 2018 Alibaba Group. All rights reserved.