Properties

properties,list,store,load

 

properties其实也是一个集合,只不过他和流有点关系,所以来介绍一下

properties的基本用法,创建,添加元素,遍历操作,注意这里的遍历操作不仅有keyset,还有entryset。这里还多了一个stringPropertyNames方法

properties,list,store,load

 

其实就三个方法:list   store  load 

properties,list,store,load

properties,list,store,load

 

properties,list,store,load

 

load方法:加载

properties,list,store,load

load 打印结果

properties,list,store,load

 

相关文章: