com.github.rrsunhome.excelsql.config.ExcelParserConfig Maven / Gradle / Ivy
package com.github.rrsunhome.excelsql.config;
import java.util.List;
public class ExcelParserConfig extends BaseParserConfig {
private static final int DEFAULT_SHEET_INDEX = 0;
private Integer sheetIndex = DEFAULT_SHEET_INDEX;
private String sheetName;
public ExcelParserConfig() {
}
public ExcelParserConfig(int sheetIndex, List cellIndexArgs) {
super(cellIndexArgs);
this.sheetIndex = sheetIndex;
}
public ExcelParserConfig(String sheetName, List cellIndexArgs) {
super(cellIndexArgs);
this.sheetName = sheetName;
}
public void setSheetIndex(Integer sheetIndex) {
this.sheetIndex = sheetIndex;
}
public void setSheetName(String sheetName) {
this.sheetName = sheetName;
}
public Integer getSheetIndex() {
return sheetIndex;
}
public String getSheetName() {
return sheetName;
}
}