From ae39a58c29045a77a233bcda7b7ba1cf4436316a Mon Sep 17 00:00:00 2001 From: "jipengfei.jpf" Date: Tue, 13 Nov 2018 15:09:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E5=A4=8Dbug=EF=BC=8C=E6=8F=90=E4=BE=9B?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=B7=A5=E5=85=B7=EF=BC=8C=E6=8F=90=E5=8D=87?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E8=BD=AC=E6=8D=A2=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b25ea09..cd4215c 100644 --- a/README.md +++ b/README.md @@ -7,13 +7,11 @@ Java解析、生成Excel比较有名的框架有Apache poi、jxl。但他们都 * [更新记事](/update.md) * [English-README](/easyexcel_en.md) ## 二方包 -``` com.alibaba easyexcel {latestVersion} -``` ## 最新版本:1.1.2-beat1 ## 维护者 姬朋飞(玉霄) @@ -21,18 +19,22 @@ Java解析、生成Excel比较有名的框架有Apache poi、jxl。但他们都 ### 读Excel 测试代码地址:[https://github.com/alibaba/easyexcel/blob/master/src/test/java/com/alibaba/easyexcel/test/ReadTest.java](/src/test/java/com/alibaba/easyexcel/test/ReadTest.java) 读07版小于1000行数据返回List> -```List data = EasyExcelFactory.read(inputStream, new Sheet(1, 0)); +``` +List data = EasyExcelFactory.read(inputStream, new Sheet(1, 0)); ``` 读07版小于1000行数据返回List -```List data = EasyExcelFactory.read(inputStream, new Sheet(2, 1,JavaModel.class)); +``` +List data = EasyExcelFactory.read(inputStream, new Sheet(2, 1,JavaModel.class)); ``` 读07版大于1000行数据返回List> -```ExcelListener excelListener = new ExcelListener(); +``` +ExcelListener excelListener = new ExcelListener(); EasyExcelFactory.readBySax(inputStream, new Sheet(1, 1), excelListener); ``` 读07版大于1000行数据返回List -```ExcelListener excelListener = new ExcelListener(); +``` +ExcelListener excelListener = new ExcelListener(); EasyExcelFactory.readBySax(inputStream, new Sheet(2, 1,JavaModel.class), excelListener); ``` 读03版方法同上