dhatim / fastexcel

Generate and read big Excel files quickly
Other
651 stars 118 forks source link

[Feature Request] Auto POJO mapping support #255

Open aboutZZ opened 1 year ago

aboutZZ commented 1 year ago

Is this library support auto POJO mapping? e.g. I want read rows like this

Sheet sheet = wb.getFirstSheet();
List<Pojo> list = sheet.read(Pojo.class);

class Pojo {
    @ColumnIndex(0)
    private String name;

    @ColumnIndex(1)
    private Integer age;

    // getters and setters...
}
meiMingle commented 1 year ago

Good idea, maybe I'll try this.

OutOfCoffeeError commented 1 year ago

I would like to try this