| 程序包 | 说明 |
|---|---|
| org.ttzero.excel.reader |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
CalcSheet
Make worksheets parse formulas
|
interface |
MergeSheet
Copy values when reading merged cells.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
XMLSheet
The open-xml format Worksheet
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected Sheet[] |
ExcelReader.sheets |
| 限定符和类型 | 方法和说明 |
|---|---|
default Sheet |
Sheet.addHeaderColumnReadOption(int option)
Add header columns preprocessing properties
|
Sheet[] |
ExcelReader.all()
Returns all sheets
|
Sheet |
Sheet.asSheet()
Make worksheets parse value only
|
Sheet |
Sheet.bind(Class<?> clazz)
Set the binding type
|
default Sheet |
Sheet.bind(Class<?> clazz,
int fromRowNum)
Set the binding type
|
default Sheet |
Sheet.bind(Class<?> clazz,
int fromRowNum,
int toRowNum)
Set the binding type
|
Sheet |
XMLSheet.bind(Class<?> clazz,
Row row) |
Sheet |
Sheet.bind(Class<?> clazz,
Row row)
Set the binding type
|
default Sheet |
Sheet.forceImport()
Use field name matching without
ExcelColumn annotation
When converting row data to Java objects, only fields with ExcelColumn annotations
are matched by default. |
Sheet |
Drawings.Picture.getSheet() |
default Sheet |
Sheet.header(int fromRowNum)
Specify the header rows endpoint
|
Sheet |
XMLSheet.header(int fromRowNum,
int toRowNum)
Specify the header rows endpoint
Note: After specifying the header row number, the row-pointer will move to the
next row of the header range.
|
Sheet |
Sheet.header(int fromRowNum,
int toRowNum)
Specify the header rows endpoint
Note: After specifying the header row number, the row-pointer will move to the
next row of the header range.
|
default Sheet |
Sheet.headerColumnIgnoreCase()
Settings ignore case matching column names
|
default Sheet |
Sheet.headerColumnToCamelCase()
Convert column name to camel case
|
Sheet |
Sheet.load()
Load the sheet data
|
default Sheet |
Sheet.reset()
Reset the
Sheet's row index to begging |
Sheet |
XMLSheet.setHeaderColumnReadOption(int option)
Setting header columns preprocessing properties
|
Sheet |
Sheet.setHeaderColumnReadOption(int option)
Setting header columns preprocessing properties
HeaderRow.FORCE_IMPORT: Match with field name if without ExcelColumn annotation
HeaderRow.IGNORE_CASE: Ignore case matching column names
HeaderRow.CAMEL_CASE: CAMEL_CASE to camelCase
reader.sheet(0).setHeaderColumnReadOption(HeaderRow.FORCE_IMPORT | HeaderRow.IGNORE_CASE)
|
Sheet |
ExcelReader.sheet(int index)
get by index
|
Sheet |
ExcelReader.sheet(String sheetName)
get by name
|
protected Sheet |
ExcelReader.sheetFactory(int option)
Create a read sheet
|
| 限定符和类型 | 方法和说明 |
|---|---|
Stream<Sheet> |
ExcelReader.sheets()
to streams
|
| 限定符和类型 | 方法和说明 |
|---|---|
default List<Drawings.Picture> |
Drawings.listPictures(Sheet sheet)
List all picture in specify worksheet
|
Copyright © 2023. All rights reserved.