❇️ Improve the productivity of the Excel operation library. https://hellokaton.github.io/excel-plus/#/
❇️ Improve the productivity of the Excel operation library. https://hellokaton.github.io/excel-plus/#/
Easier to read and generate an excel file, supports XLSX、XLS、CSV.
中文文档
xls、xlsx、csv1,000,000 linesHow to use. Latest version here
io.github.biezhi
excel-plus
1.0.8
snapshot version
snapshots-repo
https://oss.sonatype.org/content/repositories/snapshots
false
true
io.github.biezhi
excel-plus
1.0.8-SNAPSHOT
Read excel as List
…List members = Reader.create(Member.class)
.from(new File("members.xlsx"))
.start(1)
.asList();Write excel as file
public class Book {
@ExcelColumn(title = "书名", index = 0)
private String title;
@ExcelColumn(title = "作者", index = 1)
private String author;
@ExcelColumn(title = "售价", index = 2)
private Double price;
@ExcelColumn(title = "出版日期", index = 3, datePattern = "yyyy年M月")
private LocalDate publishDate;
// getter setter 省略
}Writer.create()
.withRows(books)
.headerTitle("书籍列表 V1")
.to(new File("book.xlsx"));Code See here
Browser download
Writer.create()
.withRows(orders)
.to(ResponseWrapper.create(HttpServletResponse, "order-list.xls"));See here
No open issues yet, or sync has not completed.