📄 resourcemanager.java
字号:
package com.ct.hotweb.web;
import java.util.*;
import com.ct.hotweb.getter.*;
import com.ct.hotweb.util.*;
public class ResourceManager {
public final static String CONFIG_PATH = "d:/hotweb/conf/hotweb.config";
public static HotWebWorkManager getGenManager() {
HashMap config = null;
HotWebWorkManager hwwm = null;
try {
config = Utils.loadConfig(CONFIG_PATH);
hwwm = new HotWebWorkManager(config);
} catch (Exception e) {
System.out.println("严重错误: 配置文件无法读取!");
}
return hwwm;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -