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

org.jxls.reader.XLSSheetReader Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package org.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);

	void setConvertUtilsBeanProvider(ConvertUtilsBeanProvider convertUtilsBean);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy