📄 excelconfig.java
字号:
package cn.capitek.TorchRelay.util;
import java.util.List;
import java.util.Vector;
public class ExcelConfig {
private List<ExcelType> properties;
private String type;
/**
* @return Returns the type.
*/
public String getType()
{
return type;
}
/**
* @param type The type to set.
*/
public void setType(String type)
{
this.type = type;
}
/**
* 增加ExcelConfig初始化参数对象
*
* @param property 初始化参数对象
*/
public void addExcelType(ExcelType exceltype)
{
if (properties == null)
properties = new Vector<ExcelType>();
properties.add(exceltype);
}
public List<ExcelType> getProperties() {
return properties;
}
/**
* 返回所有的初始化配置参数
* @return 配置文件中配置的初始化配置参数
*/
/* public Properties getProperties()
{
if (properties == null)
return new Properties();
// 将初始化参数转换为Java标准的属性类
Properties props = new Properties();
for (Property property : properties)
{
props.put(property.getName(), property.getValue());
}
return props;
}*/
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -