public class MapSheetReader extends AbstractSheetReader<List<Map<String,Object>>>
Sheet
为Map的List列表形式cellEditor, endRowIndex, ignoreEmptyRow, startRowIndex
Constructor and Description |
---|
MapSheetReader(int headerRowIndex,
int startRowIndex,
int endRowIndex)
构造
|
Modifier and Type | Method and Description |
---|---|
List<Map<String,Object>> |
read(org.apache.poi.ss.usermodel.Sheet sheet)
读取数据
|
addHeaderAlias, aliasHeader, aliasHeader, readRow, setCellEditor, setHeaderAlias, setIgnoreEmptyRow
public MapSheetReader(int headerRowIndex, int startRowIndex, int endRowIndex)
headerRowIndex
- 标题所在行,如果标题行在读取的内容行中间,这行做为数据将忽略startRowIndex
- 起始行(包含,从0开始计数)endRowIndex
- 结束行(包含,从0开始计数)public List<Map<String,Object>> read(org.apache.poi.ss.usermodel.Sheet sheet)
SheetReader
sheet
- Sheet
Copyright © 2024. All rights reserved.