// ------------------new----------------// public String getProperty(String key) // throws FileNotFoundException, IOException { ResourceBundle bund = ResourceBundle.getBundle("resource"); return bund.getString(key); } //取*.properties 中的值 gm.getProperty("變量名")
取*.properties 中的值
最新推荐文章于 2019-05-08 15:33:54 发布