Skip to content

TurboExcel 是一个内存优化的 Java 框架,可以高效地导入和导出大量数据。TurboExcel is a memory-optimized Java framework that enables efficient import and export of large volumes of data.

License

eisuto/turboexcel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TurboExcel

version

TurboExcel 是一个解析 Excel 的 Java 框架,以 SAX 模式 工作,旨在为您的数据处理提供💪强大的动力和🚀极速的效率,允许您在处理大量数据时保持出色的性能⚡️。

快速开始

1. 依赖

不引入也可以,但那样就不能用了哦

<dependency>
    <groupId>io.github.eisuto</groupId>
    <artifactId>turbo-excel</artifactId>
    <version>0.0.1</version>
</dependency>

2. 添加注解

不加也行,但那样就读不了啦

@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;
}

3. 读取

不读也行,但那样就没有数据啦

List<Ship> ships = ExcelReader.read(youExcelFile, Ship.class);

贡献

欢迎提出 Issue 或 PR,我们期待你的参与!🎉

Todo

  • 指定列索引读取
  • 使用 String 作为所有值的数据类型进行读取
  • 通过选择标题行,匹配列读取
  • 读取校验
  • 读取和导出一对多关系数据
  • 读取、导出图片
  • 导出

License

TurboExcel 使用 MIT License 发布。

About

TurboExcel 是一个内存优化的 Java 框架,可以高效地导入和导出大量数据。TurboExcel is a memory-optimized Java framework that enables efficient import and export of large volumes of data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages