public class AnalysisContextImpl extends Object implements AnalysisContext
| Constructor and Description |
|---|
AnalysisContextImpl(ReadWorkbook readWorkbook,
ExcelTypeEnum actualExcelType) |
| Modifier and Type | Method and Description |
|---|---|
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
|
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 in interface AnalysisContextreadSheet - sheet to readpublic ReadWorkbookHolder readWorkbookHolder()
AnalysisContextreadWorkbookHolder in interface AnalysisContextpublic ReadSheetHolder readSheetHolder()
AnalysisContextreadSheetHolder in interface AnalysisContextpublic ReadRowHolder readRowHolder()
AnalysisContextreadRowHolder in interface AnalysisContextpublic void readRowHolder(ReadRowHolder readRowHolder)
AnalysisContextreadRowHolder in interface AnalysisContextreadRowHolder - Current row holderpublic ReadHolder currentReadHolder()
AnalysisContextreadSheetHolder or readWorkbookHoldercurrentReadHolder in interface AnalysisContextpublic Object getCustom()
AnalysisContextgetCustom in interface AnalysisContextpublic AnalysisEventProcessor analysisEventProcessor()
AnalysisContextanalysisEventProcessor in interface AnalysisContextpublic List<ReadSheet> readSheetList()
AnalysisContextreadSheetList in interface AnalysisContextpublic void readSheetList(List<ReadSheet> readSheetList)
AnalysisContextreadSheetList in interface AnalysisContextpublic ExcelTypeEnum getExcelType()
AnalysisContextgetExcelType in interface AnalysisContextpublic InputStream getInputStream()
AnalysisContextgetInputStream in interface AnalysisContextpublic Integer getCurrentRowNum()
AnalysisContextgetCurrentRowNum in interface AnalysisContextpublic Integer getTotalCount()
AnalysisContextgetTotalCount in interface AnalysisContextpublic Object getCurrentRowAnalysisResult()
AnalysisContextgetCurrentRowAnalysisResult in interface AnalysisContextpublic void interrupt()
AnalysisContextinterrupt in interface AnalysisContextCopyright © 2018–2024 Alibaba Group. All rights reserved.