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)
AnalysisContext
currentSheet
在接口中 AnalysisContext
readSheet
- sheet to readpublic ReadWorkbookHolder readWorkbookHolder()
AnalysisContext
readWorkbookHolder
在接口中 AnalysisContext
public ReadSheetHolder readSheetHolder()
AnalysisContext
readSheetHolder
在接口中 AnalysisContext
public ReadRowHolder readRowHolder()
AnalysisContext
readRowHolder
在接口中 AnalysisContext
public void readRowHolder(ReadRowHolder readRowHolder)
AnalysisContext
readRowHolder
在接口中 AnalysisContext
readRowHolder
- Current row holderpublic ReadHolder currentReadHolder()
AnalysisContext
readSheetHolder
or readWorkbookHolder
currentReadHolder
在接口中 AnalysisContext
public Object getCustom()
AnalysisContext
getCustom
在接口中 AnalysisContext
public AnalysisEventProcessor analysisEventProcessor()
AnalysisContext
analysisEventProcessor
在接口中 AnalysisContext
public List<ReadSheet> readSheetList()
AnalysisContext
readSheetList
在接口中 AnalysisContext
public void readSheetList(List<ReadSheet> readSheetList)
AnalysisContext
readSheetList
在接口中 AnalysisContext
public Sheet getCurrentSheet()
AnalysisContext
getCurrentSheet
在接口中 AnalysisContext
public ExcelTypeEnum getExcelType()
AnalysisContext
getExcelType
在接口中 AnalysisContext
public InputStream getInputStream()
AnalysisContext
getInputStream
在接口中 AnalysisContext
public Integer getCurrentRowNum()
AnalysisContext
getCurrentRowNum
在接口中 AnalysisContext
public Integer getTotalCount()
AnalysisContext
getTotalCount
在接口中 AnalysisContext
public Object getCurrentRowAnalysisResult()
AnalysisContext
getCurrentRowAnalysisResult
在接口中 AnalysisContext
public void interrupt()
AnalysisContext
interrupt
在接口中 AnalysisContext
Copyright © 2018–2021 Alibaba Group. All rights reserved.