com.alibaba.excel.context
类 AnalysisContextImpl
- java.lang.Object
-
- com.alibaba.excel.context.AnalysisContextImpl
-
- 所有已实现的接口:
- AnalysisContext
public class AnalysisContextImpl extends Object implements AnalysisContext
- 作者:
- jipengfei
-
构造器概要
构造器 构造器和说明 AnalysisContextImpl(ReadWorkbook readWorkbook)
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 ReadHolder
currentReadHolder()
The current read operation corresponds to thereadSheetHolder
orreadWorkbookHolder
void
currentSheet(ReadSheet readSheet)
Select the current tableObject
getCurrentRowAnalysisResult()
get current resultInteger
getCurrentRowNum()
get current rowSheet
getCurrentSheet()
get current sheetObject
getCustom()
Custom attributeExcelTypeEnum
getExcelType()
get excel typeInputStream
getInputStream()
get in ioInteger
getTotalCount()
get total row ,Data may be inaccuratevoid
interrupt()
Interrupt executionReadRowHolder
readRowHolder()
Row of currently operated cellvoid
readRowHolder(ReadRowHolder readRowHolder)
Set row of currently operated cellReadSheetHolder
readSheetHolder()
All information about the sheet you are currently working onReadWorkbookHolder
readWorkbookHolder()
All information about the workbook you are currently working on
-
构造器详细资料
AnalysisContextImpl
public AnalysisContextImpl(ReadWorkbook readWorkbook)
方法详细资料
currentSheet
public void currentSheet(ReadSheet readSheet)
从接口复制的说明:AnalysisContext
Select the current table- 指定者:
-
currentSheet
在接口中AnalysisContext
- 参数:
-
readSheet
- sheet to read
readWorkbookHolder
public ReadWorkbookHolder readWorkbookHolder()
从接口复制的说明:AnalysisContext
All information about the workbook you are currently working on- 指定者:
-
readWorkbookHolder
在接口中AnalysisContext
- 返回:
- Current workbook holder
readSheetHolder
public ReadSheetHolder readSheetHolder()
从接口复制的说明:AnalysisContext
All information about the sheet you are currently working on- 指定者:
-
readSheetHolder
在接口中AnalysisContext
- 返回:
- Current sheet holder
readRowHolder
public ReadRowHolder readRowHolder()
从接口复制的说明:AnalysisContext
Row of currently operated cell- 指定者:
-
readRowHolder
在接口中AnalysisContext
- 返回:
- Current row holder
readRowHolder
public void readRowHolder(ReadRowHolder readRowHolder)
从接口复制的说明:AnalysisContext
Set row of currently operated cell- 指定者:
-
readRowHolder
在接口中AnalysisContext
- 参数:
-
readRowHolder
- Current row holder
currentReadHolder
public ReadHolder currentReadHolder()
从接口复制的说明:AnalysisContext
The current read operation corresponds to thereadSheetHolder
orreadWorkbookHolder
- 指定者:
-
currentReadHolder
在接口中AnalysisContext
- 返回:
- Current holder
getCustom
public Object getCustom()
从接口复制的说明:AnalysisContext
Custom attribute- 指定者:
-
getCustom
在接口中AnalysisContext
- 返回:
getCurrentSheet
public Sheet getCurrentSheet()
从接口复制的说明:AnalysisContext
get current sheet- 指定者:
-
getCurrentSheet
在接口中AnalysisContext
- 返回:
- current analysis sheet
getExcelType
public ExcelTypeEnum getExcelType()
从接口复制的说明:AnalysisContext
get excel type- 指定者:
-
getExcelType
在接口中AnalysisContext
- 返回:
- excel type
getInputStream
public InputStream getInputStream()
从接口复制的说明:AnalysisContext
get in io- 指定者:
-
getInputStream
在接口中AnalysisContext
- 返回:
- file io
getCurrentRowNum
public Integer getCurrentRowNum()
从接口复制的说明:AnalysisContext
get current row- 指定者:
-
getCurrentRowNum
在接口中AnalysisContext
- 返回:
getTotalCount
public Integer getTotalCount()
从接口复制的说明:AnalysisContext
get total row ,Data may be inaccurate- 指定者:
-
getTotalCount
在接口中AnalysisContext
- 返回:
getCurrentRowAnalysisResult
public Object getCurrentRowAnalysisResult()
从接口复制的说明:AnalysisContext
get current result- 指定者:
-
getCurrentRowAnalysisResult
在接口中AnalysisContext
- 返回:
- get current result
interrupt
public void interrupt()
从接口复制的说明:AnalysisContext
Interrupt execution- 指定者:
-
interrupt
在接口中AnalysisContext
Copyright © 2018–2019 Alibaba Group. All rights reserved.