excel模板信息栏的信息头的格式保存

web_backend_develope
chenlw 8 years ago
parent ca6507aaa0
commit e375d19336

@ -0,0 +1,31 @@
package com.platform.utils.excelUtils;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
/** excel
* @author chen
*
*/
public class ExcelHeadLine{
//excel 的 行 -列 值 文件头的保存。map<行,HashMap<列, 值>>
private static Map<Integer,HashMap<Integer, String>> rowMap = new HashMap<Integer,HashMap<Integer, String>>();
public static HashMap<Integer, String> put(Integer key, HashMap<Integer, String> value) {
return rowMap.put(key, value);
}
public static Set<Integer> keySet() {
return rowMap.keySet();
}
public static HashMap<Integer, String> get(Integer key) {
return rowMap.get(key);
}
public static HashMap<Integer, String> remove(Integer key) {
return rowMap.remove(key);
}
}
Loading…
Cancel
Save