- 博客(1)
- 收藏
- 关注
转载 Java读取Properties文件的六种方法
<br />使用J2SE API读取Properties文件的六种方法<br />1。使用java.util.Properties类的load()方法<br />示例: InputStream in = lnew BufferedInputStream(new FileInputStream(name));<br />Properties p = new Properties();<br />p.load(in);<br />2。使用java.util.ResourceBundle类的getBundle()
2011-04-29 14:50:00 591
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人