public class AnalysisContextImpl extends Object implements AnalysisContext
| 构造器和说明 |
|---|
AnalysisContextImpl(ReadWorkbook readWorkbook,
ExcelTypeEnum actualExcelType) |
| 限定符和类型 | 方法和说明 |
|---|---|
AnalysisEventProcessor |
analysisEventProcessor()
Event processor
|
ReadHolder |
currentReadHolder()
The current read operation corresponds to the
readSheetHolder or readWorkbookHolder |
void |
currentSheet(ReadSheet readSheet)
Select the current table
|
Object |
getCurrentRowAnalysisResult()
get current result
|
Integer |
getCurrentRowNum()
get current row
|
Sheet |
getCurrentSheet()
get current sheet
|
Object |
getCustom()
Custom attribute
|
ExcelTypeEnum |
getExcelType()
get excel type
|
InputStream |
getInputStream()
get in io
|
Integer |
getTotalCount()
get total row ,Data may be inaccurate
|
void |
interrupt()
Interrupt execution
|
ReadRowHolder |
readRowHolder()
Row of currently operated cell
|
void |
readRowHolder(ReadRowHolder readRowHolder)
Set row of currently operated cell
|
ReadSheetHolder |
readSheetHolder()
All information about the sheet you are currently working on
|
List<ReadSheet> |
readSheetList()
Data that the customer needs to read
|
void |
readSheetList(List<ReadSheet> readSheetList)
Data that the customer needs to read
|
ReadWorkbookHolder |
readWorkbookHolder()
All information about the workbook you are currently working on
|
public AnalysisContextImpl(ReadWorkbook readWorkbook, ExcelTypeEnum actualExcelType)
public void currentSheet(ReadSheet readSheet)
AnalysisContextcurrentSheet 在接口中 AnalysisContextreadSheet - sheet to readpublic ReadWorkbookHolder readWorkbookHolder()
AnalysisContextreadWorkbookHolder 在接口中 AnalysisContextpublic ReadSheetHolder readSheetHolder()
AnalysisContextreadSheetHolder 在接口中 AnalysisContextpublic ReadRowHolder readRowHolder()
AnalysisContextreadRowHolder 在接口中 AnalysisContextpublic void readRowHolder(ReadRowHolder readRowHolder)
AnalysisContextreadRowHolder 在接口中 AnalysisContextreadRowHolder - Current row holderpublic ReadHolder currentReadHolder()
AnalysisContextreadSheetHolder or readWorkbookHoldercurrentReadHolder 在接口中 AnalysisContextpublic Object getCustom()
AnalysisContextgetCustom 在接口中 AnalysisContextpublic AnalysisEventProcessor analysisEventProcessor()
AnalysisContextanalysisEventProcessor 在接口中 AnalysisContextpublic List<ReadSheet> readSheetList()
AnalysisContextreadSheetList 在接口中 AnalysisContextpublic void readSheetList(List<ReadSheet> readSheetList)
AnalysisContextreadSheetList 在接口中 AnalysisContextpublic Sheet getCurrentSheet()
AnalysisContextgetCurrentSheet 在接口中 AnalysisContextpublic ExcelTypeEnum getExcelType()
AnalysisContextgetExcelType 在接口中 AnalysisContextpublic InputStream getInputStream()
AnalysisContextgetInputStream 在接口中 AnalysisContextpublic Integer getCurrentRowNum()
AnalysisContextgetCurrentRowNum 在接口中 AnalysisContextpublic Integer getTotalCount()
AnalysisContextgetTotalCount 在接口中 AnalysisContextpublic Object getCurrentRowAnalysisResult()
AnalysisContextgetCurrentRowAnalysisResult 在接口中 AnalysisContextpublic void interrupt()
AnalysisContextinterrupt 在接口中 AnalysisContextCopyright © 2018–2021 Alibaba Group. All rights reserved.