public class ExcelReader extends Object implements Closeable
| Constructor and Description |
|---|
ExcelReader(ReadWorkbook readWorkbook) |
| Modifier and Type | Method and Description |
|---|---|
AnalysisContext |
analysisContext()
Context for the entire execution process
|
void |
close() |
ExcelReadExecutor |
excelExecutor()
Current executor
|
protected void |
finalize()
Prevents calls to
finish() from freeing the cache |
void |
finish()
Complete the entire read file.Release the cache and close stream.
|
AnalysisContext |
getAnalysisContext()
Deprecated.
please use
analysisContext() |
void |
read()
Deprecated.
lease use
readAll() |
ExcelReader |
read(List<ReadSheet> readSheetList)
Read multiple sheets.
|
ExcelReader |
read(ReadSheet... readSheet)
Parse the specified sheet,SheetNo start from 0
|
void |
readAll()
Parse all sheet content by default
|
public ExcelReader(ReadWorkbook readWorkbook)
@Deprecated public void read()
readAll()public void readAll()
public ExcelReader read(ReadSheet... readSheet)
readSheet - Read sheetpublic ExcelReader read(List<ReadSheet> readSheetList)
readSheetList - public AnalysisContext analysisContext()
public ExcelReadExecutor excelExecutor()
@Deprecated public AnalysisContext getAnalysisContext()
analysisContext()public void finish()
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2018–2024 Alibaba Group. All rights reserved.