java 获取config 配置文件

static ResourceBundle PropertiesUtil = ResourceBundle.getBundle("config");
public static String express_host = PropertiesUtil.getString("express_host");
public static String express_path = PropertiesUtil.getString("express_path");
public static String express_appcode = PropertiesUtil.getString("express_appcode");

posted @ 2017-11-30 15:13  咸蛋超人、  阅读(2355)  评论(0编辑  收藏  举报