摘要: Properties pro = new Properties();try {InputStream inStr = ClassLoader.getSystemResourceAsStream("wahaha.properties");pro.load(inStr);} catch (FileNotFoundException e) {e.printStackTrace();} catch (IOException e) {e.printStackTrace();}//propertyNames(),返回属性列表中所有键的枚举Enumeration enu2=pro.pro 阅读全文
posted @ 2013-10-19 17:34 daniell2012 阅读(1025) 评论(0) 推荐(0)