public class ExcelAnalyserImpl extends Object implements ExcelAnalyser
Key functionalities include:
| Constructor and Description |
|---|
ExcelAnalyserImpl(ReadWorkbook readWorkbook) |
| Modifier and Type | Method and Description |
|---|---|
void |
analysis(List<ReadSheet> readSheetList,
Boolean readAll)
Performs the analysis of the Excel file based on the specified sheets or all sheets.
|
AnalysisContext |
analysisContext()
Retrieves the context object used during the Excel analysis process.
|
ExcelReadExecutor |
excelExecutor()
Retrieves the executor used for performing the Excel analysis.
|
void |
finish()
Cleans up resources used during the analysis process, including closing streams,
destroying caches, and deleting temporary files.
|
public ExcelAnalyserImpl(ReadWorkbook readWorkbook)
public void analysis(List<ReadSheet> readSheetList, Boolean readAll)
analysis in interface ExcelAnalyserreadSheetList - A list of ReadSheet objects specifying which sheets to analyze.
Can be null if all sheets are to be analyzed.readAll - A boolean indicating whether to analyze all sheets in the workbook.
If true, the readSheetList parameter is ignored.IllegalArgumentException - If neither readAll is true nor readSheetList contains any sheets.ExcelAnalysisException - If a non-runtime exception occurs during the analysis.public void finish()
finish in interface ExcelAnalyserpublic ExcelReadExecutor excelExecutor()
excelExecutor in interface ExcelAnalyserpublic AnalysisContext analysisContext()
analysisContext in interface ExcelAnalyserCopyright © 2024–2025 fast-excel. All rights reserved.