T - 读取类型public abstract class AbstractSheetReader<T> extends Object implements SheetReader<T>
Sheet数据读取实现| Modifier and Type | Field and Description |
|---|---|
protected org.apache.poi.ss.util.CellRangeAddress |
cellRangeAddress |
protected ExcelReadConfig |
config
Excel配置
|
| Constructor and Description |
|---|
AbstractSheetReader(org.apache.poi.ss.util.CellRangeAddress cellRangeAddress)
构造
|
AbstractSheetReader(int startRowIndex,
int endRowIndex)
构造
|
| Modifier and Type | Method and Description |
|---|---|
void |
setExcelConfig(ExcelReadConfig config)
设置Excel配置
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadprotected final org.apache.poi.ss.util.CellRangeAddress cellRangeAddress
protected ExcelReadConfig config
public AbstractSheetReader(int startRowIndex,
int endRowIndex)
startRowIndex - 起始行(包含,从0开始计数)endRowIndex - 结束行(包含,从0开始计数)public AbstractSheetReader(org.apache.poi.ss.util.CellRangeAddress cellRangeAddress)
cellRangeAddress - 读取范围public void setExcelConfig(ExcelReadConfig config)
config - Excel配置Copyright © 2025. All rights reserved.