@toc
java读取properties文件
// 'resources/application.properties' 默认可以省略'.properties'
ResourceBundle bundle = ResourceBundle.getBundle("application");
System.out.println(bundle.getString("store_register"));
@toc
// 'resources/application.properties' 默认可以省略'.properties'
ResourceBundle bundle = ResourceBundle.getBundle("application");
System.out.println(bundle.getString("store_register"));

被折叠的 条评论
为什么被折叠?