TurboExcel 是一个解析 Excel 的 Java 框架,以 SAX 模式 工作,旨在为您的数据处理提供💪强大的动力和🚀极速的效率,允许您在处理大量数据时保持出色的性能⚡️。
不引入也可以,但那样就不能用了哦
<dependency>
<groupId>io.github.eisuto</groupId>
<artifactId>turbo-excel</artifactId>
<version>0.0.1</version>
</dependency>
不加也行,但那样就读不了啦
@Data
@ExcelSheet
public class Ship {
@ExcelCol(name = "编号")
private String id;
@ExcelCol(name = "名称")
private String name;
@ExcelCol(name = "吨位")
private String tonnage;
@ExcelCol(name = "下水日期")
private String launchDate;
}
不读也行,但那样就没有数据啦
List<Ship> ships = ExcelReader.read(youExcelFile, Ship.class);
欢迎提出 Issue 或 PR,我们期待你的参与!🎉
- 指定列索引读取
- 使用
String
作为所有值的数据类型进行读取 - 通过选择标题行,匹配列读取
- 读取校验
- 读取和导出一对多关系数据
- 读取、导出图片
- 导出
TurboExcel 使用 MIT License 发布。