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

me.excel.tools.model.excel.ExcelSheet Maven / Gradle / Ivy

The newest version!
package me.excel.tools.model.excel;

import java.io.Serializable;
import java.util.List;
import java.util.Set;

/**
 * excel sheet
 * 

* Created by hanwen on 15-12-16. */ public interface ExcelSheet extends Serializable { /** * @return sheet name */ String getSheetName(); /** * @return rows of this sheet */ List getRows(); /** * @return rows size of this sheet */ int sizeOfRows(); /** * get row by index * * @param index 1-based * @return row */ ExcelRow getRow(int index); /** * @return data rows of this sheet (exclude first, second, third rows) */ List getDataRows(); /** * @return data size of this sheet */ int sizeOfData(); /** * add row * * @param excelRow row * @return success */ boolean addRow(ExcelRow excelRow); /** * @return first row */ ExcelRow getFirstRow(); /** * @return last row */ ExcelRow getLastRow(); /** * @return workbook of sheet at */ ExcelWorkbook getWorkbook(); /** * get sheet index * * @return 1-based */ int getIndex(); /** * @return has comment */ boolean hasComments(); /** * collect all values of supplied field (distinct) * * @param field field * @return values of field */ Set getDistinctCellValuesByField(String field); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy