`
hailong886
  • 浏览: 788 次
  • 性别: Icon_minigender_1
  • 来自: 江西
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论
文章列表
使用J2SEAPI读取Properties文件的六种方法 1。使用Java.util.Properties类的load()方法 示例:InputStreamin=lnewBufferedInputStream(newFileInputStream(name)); Propertiesp=newProperties(); p.load(in);   2。使用java.util.ResourceBundle类的getBundle()方法 示例: ResourceBundlerb=ResourceBundle.getBundle(name,Locale.getDefault()); ...
Global site tag (gtag.js) - Google Analytics