public interface AnalysisContext
限定符和类型 | 方法和说明 |
---|---|
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()
已过时。
please use
readRowHolder() |
Integer |
getCurrentRowNum()
已过时。
please use
readRowHolder() |
Sheet |
getCurrentSheet()
已过时。
please use
readSheetHolder() |
Object |
getCustom()
Custom attribute
|
ExcelTypeEnum |
getExcelType()
已过时。
please use
readWorkbookHolder() |
InputStream |
getInputStream()
已过时。
please use
readWorkbookHolder() |
Integer |
getTotalCount()
已过时。
please use
readRowHolder() |
void |
interrupt()
已过时。
|
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
|
void currentSheet(ReadSheet readSheet)
readSheet
- sheet to readReadWorkbookHolder readWorkbookHolder()
ReadSheetHolder readSheetHolder()
void readRowHolder(ReadRowHolder readRowHolder)
readRowHolder
- Current row holderReadRowHolder readRowHolder()
ReadHolder currentReadHolder()
readSheetHolder
or readWorkbookHolder
Object getCustom()
AnalysisEventProcessor analysisEventProcessor()
void readSheetList(List<ReadSheet> readSheetList)
readSheetList
- @Deprecated Sheet getCurrentSheet()
readSheetHolder()
@Deprecated ExcelTypeEnum getExcelType()
readWorkbookHolder()
@Deprecated InputStream getInputStream()
readWorkbookHolder()
@Deprecated Integer getCurrentRowNum()
readRowHolder()
@Deprecated Integer getTotalCount()
readRowHolder()
@Deprecated Object getCurrentRowAnalysisResult()
readRowHolder()
@Deprecated void interrupt()
AnalysisEventListener.hasNext(AnalysisContext)
Copyright © 2018–2021 Alibaba Group. All rights reserved.