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");

原文地址:https://www.cnblogs.com/xdcr/p/7929158.html