com.github.kunalk16.excel.model.factory.ExcelCell Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lightExcelReader Show documentation
Show all versions of lightExcelReader Show documentation
A lightweight Java framework to read .xlsx excel files.
package com.github.kunalk16.excel.model.factory;
import com.github.kunalk16.excel.factory.extractor.ColumnNumberByNameExtractor;
import com.github.kunalk16.excel.model.user.Cell;
public class ExcelCell implements Cell {
private final int row;
private final String column;
private final String value;
public ExcelCell(int row, String column, String value) {
this.row = row;
this.column = column;
this.value = value;
}
@Override
public int getRow() {
return this.row;
}
@Override
public String getColumn() {
return this.column;
}
@Override
public int getColumnIndex() {
return ColumnNumberByNameExtractor.getInstance().apply(this.getColumn());
}
@Override
public String getValue() {
return this.value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy