public static String getFilePropertyValue(String key) throws IOException {
Properties fileLibConfig = new Properties();
fileLibConfig.load(
new InputStreamReader(
SysUtils.class.getResourceAsStream ("/com/dreamjm/config/config.properties"), "utf-8"));
return fileLibConfig.getProperty(key);
}
获取properties文件中的值