You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package com.alibaba.excel.read.metadata.holder;
|
|
|
|
|
|
|
|
import com.alibaba.excel.metadata.GlobalConfiguration;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* sheet holder
|
|
|
|
*
|
|
|
|
* @author zhuangjiaju
|
|
|
|
*/
|
|
|
|
public class ReadRowHolder {
|
|
|
|
/**
|
|
|
|
* Returns row index of a row in the sheet that contains this cell.Start form 0.
|
|
|
|
*/
|
|
|
|
private int rowIndex;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The result of the previous listener
|
|
|
|
*/
|
|
|
|
private Object currentRowAnalysisResult;
|
|
|
|
/**
|
|
|
|
* Some global variables
|
|
|
|
*/
|
|
|
|
private GlobalConfiguration globalConfiguration;
|
|
|
|
|
|
|
|
public ReadRowHolder(int rowIndex, GlobalConfiguration globalConfiguration) {
|
|
|
|
this.rowIndex = rowIndex;
|
|
|
|
this.globalConfiguration = globalConfiguration;
|
|
|
|
}
|
|
|
|
|
|
|
|
public GlobalConfiguration getGlobalConfiguration() {
|
|
|
|
return globalConfiguration;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setGlobalConfiguration(GlobalConfiguration globalConfiguration) {
|
|
|
|
this.globalConfiguration = globalConfiguration;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Object getCurrentRowAnalysisResult() {
|
|
|
|
return currentRowAnalysisResult;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setCurrentRowAnalysisResult(Object currentRowAnalysisResult) {
|
|
|
|
this.currentRowAnalysisResult = currentRowAnalysisResult;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getRowIndex() {
|
|
|
|
return rowIndex;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setRowIndex(int rowIndex) {
|
|
|
|
this.rowIndex = rowIndex;
|
|
|
|
}
|
|
|
|
}
|