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

net.sf.jxls.reader.XLSSheetReader Maven / Gradle / Ivy

package net.sf.jxls.reader;

import java.util.List;
import java.util.Map;

import org.apache.poi.ss.usermodel.Sheet;

/**
 * Interface to parse XLS sheet 
 * @author Leonid Vysochyn
 */
public interface XLSSheetReader {
    /**
     * Method to read data from excel sheet and populate objects
     * @param sheet - {@link Sheet} object
     * @param beans - {@link Map} of beans to populate
     * @return {@link XLSReadStatus} object with info about read status
     */
    XLSReadStatus read(Sheet sheet, Map beans);

    List getBlockReaders();
    void setBlockReaders(List blockReaders);
    void addBlockReader(XLSBlockReader blockReader);

    String getSheetName();
    void setSheetName(String sheetName);

    int getSheetIdx();
    void setSheetIdx(int idx);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy