net.sf.jxls.reader.XLSReader Maven / Gradle / Ivy
package net.sf.jxls.reader;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import java.io.IOException;
import java.io.InputStream;
import java.util.Map;
/**
* Interface to read and parse excel file
* @author Leonid Vysochyn
*/
public interface XLSReader {
XLSReadStatus read(InputStream inputXLS, Map beans) throws IOException, InvalidFormatException;
void setSheetReaders(Map sheetReaders);
Map getSheetReaders();
void addSheetReader( String sheetName, XLSSheetReader reader);
void addSheetReader(XLSSheetReader reader);
}