解析文件,获取并返回db.properties中的内容
import java.util.ResourceBundle;public class ProUtil { //ResourceBundle 解析属性文件 private static ResourceBundle rb = ResourceBundle.getBundle("db"); private static String getUserName(){ return ...