MyExcel, is a set of import, export, encryption, Excel and many other features of Java toolkit.
- Import : Provides simple API, read the contents of Excel, and converted to List <Bean>.
- Export : fast mass data derived a simple list, may be generated high complexity Excel layouts, layout refers complex comprising a plurality of irregular merged cells, background color, font size, italics, drop-down lists, etc., can be automatically divides Excel generating a zip archive.
This release is mainly corrected for Bug RC version found, update points are as follows:
- Set the contents of the cell to repair the global problem invalid style without prefix circumstances;
- Repair reading scientific count data error problem;
- Support Excel numeric date read (e.g. 43,927.678879879);
- Modify Bigdecimal export mode, default value, the format is still value;
- Import data conversion support custom exception handling mechanism;
- Support DefaultExcelBuilder, DefaultStreamExcelBuilder set interlace pattern;
- Width optimization, the cell will be considered the influence across columns;
- Other performance optimization;
Wherein the interlace pattern set as follows:
@ExcelTable(sheetName = "艺术生", style = {"even->background-color:green"})
public class ArtCrowd extends People {
@ExcelColumn(order = 3, index = 3)
private String paintingLevel;
@ExcelColumn(order = 4, title = "是否会跳舞")
private boolean dance;
@ExcelColumn(order = 5, title = "考核时间")
private LocalDateTime assessmentTime;
@ExcelColumn(order = 6, defaultValue = "---")
private String hobby;
}
style = { "even-> background-color: green"}, even representative of even rows, odd odd rows representatives
In addition to the global settings, but also can be set individually for each column, the effect is as follows:
Specifically, the other, the venue document: https://github.com/liaochong/myexcel/wiki
Welcome you to use and make recommendations! ! ! !