|
|
@ -89,7 +89,7 @@ Java解析、生成Excel比较有名的框架有Apache poi、jxl。但他们都 |
|
|
|
姬朋飞(玉霄)、庄家钜、怀宇 |
|
|
|
姬朋飞(玉霄)、庄家钜、怀宇 |
|
|
|
## 快速开始 |
|
|
|
## 快速开始 |
|
|
|
### 读Excel |
|
|
|
### 读Excel |
|
|
|
DEMO代码地址:[https://github.com/alibaba/easyexcel/blob/master/src/test/java/com/alibaba/easyexcel/demo/read/ReadTest.java](/easyexcel-core/src/test/java/com/alibaba/easyexcel/test/demo/read/ReadTest.java) |
|
|
|
DEMO代码地址:[https://github.com/alibaba/easyexcel/blob/master/easyexcel-test/src/test/java/com/alibaba/easyexcel/test/demo/write/ReadTest.java](https://github.com/alibaba/easyexcel/blob/master/easyexcel-test/src/test/java/com/alibaba/easyexcel/test/demo/write/ReadTest.java) |
|
|
|
|
|
|
|
|
|
|
|
```java |
|
|
|
```java |
|
|
|
/** |
|
|
|
/** |
|
|
@ -107,7 +107,7 @@ DEMO代码地址:[https://github.com/alibaba/easyexcel/blob/master/src/test/ja |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
### 写Excel |
|
|
|
### 写Excel |
|
|
|
DEMO代码地址:[https://github.com/alibaba/easyexcel/blob/master/src/test/java/com/alibaba/easyexcel/test/demo/write/WriteTest.java](/easyexcel-core/src/test/java/com/alibaba/easyexcel/test/demo/write/WriteTest.java) |
|
|
|
DEMO代码地址:[https://github.com/alibaba/easyexcel/blob/master/easyexcel-test/src/test/java/com/alibaba/easyexcel/test/demo/write/WriteTest.java](https://github.com/alibaba/easyexcel/blob/master/easyexcel-test/src/test/java/com/alibaba/easyexcel/test/demo/write/WriteTest.java) |
|
|
|
```java |
|
|
|
```java |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 最简单的写 |
|
|
|
* 最简单的写 |
|
|
@ -124,7 +124,7 @@ DEMO代码地址:[https://github.com/alibaba/easyexcel/blob/master/src/test/ja |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
### web上传、下载 |
|
|
|
### web上传、下载 |
|
|
|
DEMO代码地址:[https://github.com/alibaba/easyexcel/blob/master/src/test/java/com/alibaba/easyexcel/test/demo/web/WebTest.java](/easyexcel-core/src/test/java/com/alibaba/easyexcel/test/demo/web/WebTest.java) |
|
|
|
DEMO代码地址:[https://github.com/alibaba/easyexcel/blob/master/easyexcel-test/src/test/java/com/alibaba/easyexcel/test/demo/write/WebTest.java](https://github.com/alibaba/easyexcel/blob/master/easyexcel-test/src/test/java/com/alibaba/easyexcel/test/demo/write/WebTest.java) |
|
|
|
```java |
|
|
|
```java |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 文件下载(失败了会返回一个有部分数据的Excel) |
|
|
|
* 文件下载(失败了会返回一个有部分数据的Excel) |
|
|
|