public class ExcelExtractor extends DataExtractor
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ExcelExtractor.ExcelType |
| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
sheetIndex |
protected ExcelExtractor.ExcelType |
type |
dataSource, end, headers| 限定符 | 构造器和说明 |
|---|---|
protected |
ExcelExtractor(ExtractableDataSource dataSource,
String[] headers,
int startRow,
ExcelExtractor.ExcelType type,
int sheetIndex) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected org.apache.poi.ss.usermodel.Workbook |
createWorkbook(ExtractableDataSource dataSource) |
void |
extract(BiConsumer<Integer,String[]> processor) |
extract, extract, extract, isNotEmpty, verifyprotected final ExcelExtractor.ExcelType type
protected final int sheetIndex
protected ExcelExtractor(ExtractableDataSource dataSource, String[] headers, int startRow, ExcelExtractor.ExcelType type, int sheetIndex)
public final void extract(BiConsumer<Integer,String[]> processor) throws IOException
extract 在类中 DataExtractorIOExceptionprotected org.apache.poi.ss.usermodel.Workbook createWorkbook(ExtractableDataSource dataSource) throws IOException
IOExceptionCopyright © 2023. All rights reserved.