All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.rrsunhome.excelsql.config.ExcelParserConfig Maven / Gradle / Ivy

There is a newer version: 2.1.2
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy