?? propertymgr.java
字號:
package com.bjsxt.shopping.util;
import java.io.IOException;
import java.util.Properties;
public class PropertyMgr {
static Properties props = new Properties();
static {
try {
props.load(PropertyMgr.class.getClassLoader().getResourceAsStream("config/shopping.properties"));
} catch (IOException e1) {
e1.printStackTrace();
}
}
private PropertyMgr() {};
public static String getProperty(String key) {
return props.getProperty(key);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -