package com.github.mrloyal.flatexcelmapper;

import org.apache.poi.xssf.usermodel.XSSFSheet;

import java.io.File;
import java.util.List;

public class FlatExcelMapper {

    public <T extends Object>List<T> read(String fileName, int sheetIndex, Class<T> clazz){
        List<T> list = null;

        return list;
    }

    public <T extends Object>List<T> read(File file, int sheetIndex, Class<T> clazz){
        List<T> list = null;

        return list;
    }

    public <T extends Object>List<T> read(XSSFSheet sheet, Class<T> clazz){
        List<T> list = null;

        return list;
    }

    public <T extends Object> T readRow(XSSFSheet sheet, int humanReadableRow, Class<T> clazz) throws IllegalAccessException, InstantiationException {
        T object = clazz.newInstance();

        return object;
    }
}

@@ -38,16 +38,62 @@
 apper;%0A%0A
+import org.apache.poi.xssf.usermodel.XSSFRow;%0A
 import o
@@ -858,11 +858,114 @@
 t;%0A    %7D
+%0A%0A    public %3CT extends Object%3E T readRow(XSSFRow excelRow, Class%3CT%3E clazz)%7B%0A        return null;%0A    %7D
 %0A%7D%0A

Add signature for reading one row