You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
929 B
43 lines
929 B
package com.alibaba.excel.analysis; |
|
|
|
import java.util.List; |
|
|
|
import com.alibaba.excel.context.AnalysisContext; |
|
import com.alibaba.excel.read.metadata.ReadSheet; |
|
|
|
/** |
|
* Excel file analyser |
|
* |
|
* @author jipengfei |
|
*/ |
|
public interface ExcelAnalyser { |
|
/** |
|
* parse the sheet |
|
* |
|
* @param readSheetList |
|
* Which sheets you need to read. |
|
* @param readAll |
|
* The <code>readSheetList</code> parameter is ignored, and all sheets are read. |
|
*/ |
|
void analysis(List<ReadSheet> readSheetList, Boolean readAll); |
|
|
|
/** |
|
* Complete the entire read file.Release the cache and close stream |
|
*/ |
|
void finish(); |
|
|
|
/** |
|
* Acquisition excel executor |
|
* |
|
* @return Excel file Executor |
|
*/ |
|
ExcelReadExecutor excelExecutor(); |
|
|
|
/** |
|
* get the analysis context. |
|
* |
|
* @return analysis context |
|
*/ |
|
AnalysisContext analysisContext(); |
|
|
|
}
|
|
|