首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 可重复使用的组件

可重复使用的组件

  • 资源大小:21.70 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 使用 组件 重复

资 源 简 介

Easy-OFM Object File mapping framework to map common file types (ex. Excel, CSV) to java objects without interacting directly with low level mapping APIs (ex. apache POI) Sample code for mapping test.xlsx 1111 | Amila Domingo | 11-Dec-1970 Student.java Notice the use of annotations `Column` and `Mapped` ``` import org.easyframework.frm.excel.annotation.Column; import org.easyframework.frm.excel.annotation.Mapped; @Mapped public class Student { @Column(order = 1) private int id; @Column(order = 0) private String name; @Column(order = 2) private Date birthDate; public int getId() { return id; } public String getName() { return name; } public Date getBirthDate() { return birthDate; } } ``` ExcelTemplateTest.java Notice the use of `ExcelTemplate` ``` import java.io.File; import java.util.List;
VIP VIP
0.181666s