diff --git a/src/com/platform/utils/excelUtils/ExcelHeadLine.java b/src/com/platform/utils/excelUtils/ExcelHeadLine.java new file mode 100644 index 00000000..b193fff7 --- /dev/null +++ b/src/com/platform/utils/excelUtils/ExcelHeadLine.java @@ -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> rowMap = new HashMap>(); + + public static HashMap put(Integer key, HashMap value) { + return rowMap.put(key, value); + } + + public static Set keySet() { + return rowMap.keySet(); + } + + public static HashMap get(Integer key) { + return rowMap.get(key); + } + + public static HashMap remove(Integer key) { + return rowMap.remove(key); + } +}