|
@@ -33,10 +33,6 @@ public class PropertiesUtil {
|
|
|
|
|
|
private static final Set<String> PROP_FILES = Sets.newConcurrentHashSet();
|
|
private static final Set<String> PROP_FILES = Sets.newConcurrentHashSet();
|
|
|
|
|
|
- static {
|
|
|
|
- init();
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
/**
|
|
/**
|
|
* 构造函数
|
|
* 构造函数
|
|
*
|
|
*
|
|
@@ -48,9 +44,10 @@ public class PropertiesUtil {
|
|
* 初始化方法
|
|
* 初始化方法
|
|
*
|
|
*
|
|
* @author WANGWEI
|
|
* @author WANGWEI
|
|
|
|
+ * @param resourceName
|
|
*/
|
|
*/
|
|
- public static void init() {
|
|
|
|
- configure(PathUtil.getResoucePath("resource.properties"));
|
|
|
|
|
|
+ public static void init(String resourceName) {
|
|
|
|
+ configure(PathUtil.getResoucePath(resourceName));
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|