MyExcel 3.9.8 version released

MyExcel is a Java toolkit with multiple functions such as importing, exporting, and encrypting Excel.

MyExcel uses declarative grammar to build and read Excel, shielding the specific operation details of POI (no perception of POI), and replacing it with common technologies, making it extremely convenient to build (from simple to highly complex Excel) and read Excel , And the construction and reading performance is extremely excellent, and the memory usage is extremely low (for details, please refer to the performance comparison of MyExcel & Ali EasyExcel ).

Such as import:

List<ArtCrowd> result = SaxExcelReader.of(ArtCrowd.class)
        .sheet(0) // 0代表第一个sheet,如果为0,可省略该操作,也可sheet("名称")读取
        .rowFilter(row -> row.getRowNum() > 0) // 如无需过滤,可省略该操作,0代表第一行
        .beanFilter(ArtCrowd::isDance) // bean过滤
        .read(path.toFile());

The update points are as follows:

  • Fix the problem that empty cells are ignored when SaxExcelReader imports Map;
  • Fix the invalid setting of style width in DefaultStreamExcelBuilder;
  • Fix the problem that the DefaultStreamExcelBuilder cannot be personalized to deal with freezing when there are multiple sheets;
  • DefaultExcelBuilder and DefaultStreamExcelBuilder support custom freeze row and column function;
  • DefaultExcelReader adds the startSheet method to facilitate obtaining information such as the number of rows before reading;
  • Optimize the DefaultStreamExcelBuilder producer consumer process to improve export performance;
  • Remove lombok dependency;
  • Refactoring part of DefaultExcelReader and DefaultStreamExcelBuilder code to improve readability;
  • The upgrade part depends on;

Others, please move to the document: https://github.com/liaochong/myexcel/wiki

Guess you like

Origin www.oschina.net/news/119615/myexcel-3-9-8-released