szs 发表于 2016-10-28 10:33:19

fastexcel v0.0.4,快速简单操作 excel 小工具

FastExcel fastExcel = new FastExcel("E:/data.xlsx");  
        fastExcel.setSheetName("活动信息数据");
  
        List tests = fastExcel.parse(MyTest.class);
  
        if(null != tests && !tests.isEmpty()) {
  
            for(MyTest myTest : tests) {
  
                LOG.debug("记录:{}", myTest.toString());
  
            }
  
        } else {
  
            LOG.debug("没有结果");
  
        }
页: [1]
查看完整版本: fastexcel v0.0.4,快速简单操作 excel 小工具