com.gitee.beiding.template_excel.ExtractResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of template-excel Show documentation
Show all versions of template-excel Show documentation
使用模板快速提取excel文件中的数据为数据实体,或者使用模板将数据实体渲染成excel
package com.gitee.beiding.template_excel;
import java.util.Map;
public class ExtractResult {
private Map data;
ExtractResult(Map data) {
this.data = data;
}
public Map getData() {
return data;
}
public Object get(String name) {
return data.get(name);
}
public T get(String name, Class tClass) {
return (T) data.get(name);
}
}