📄 constants.java
字号:
package stock.util;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
public class Constants
{
public static final String describe;
static
{
Properties readProperty = new Properties();
InputStream infile = Constants.class
.getResourceAsStream("/config/SystemConfig.properties");
try {
readProperty.load(infile);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
describe = readProperty.getProperty("describe");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -