Java工程中读取配置文件信息
//对应当前工程路径下config/properties/sysInfo.properties
ResourceBundle bundle = ResourceBundle.getBundle("config.properties.sysInfo");
//指定字段的名称
String value = bundle.getString("keyName");
//对应当前工程路径下config/properties/sysInfo.properties
ResourceBundle bundle = ResourceBundle.getBundle("config.properties.sysInfo");
//指定字段的名称
String value = bundle.getString("keyName");