File file = new File("file.xls"); SheetMapper<DbObject> mapper = SheetMapperFactory .newInstance() .newMapper(DbObject.class); try (InputStream is = new FileInputStream(file); Workbook workbook = new HSSFWorkbook(is)){ mapper.stream(workbook.getSheetAt(0)).forEach(System.out::println); }
Property Mapping
1 - n relationship works the same as JdbcMapper
There was an error while loading. Please reload this page.