Properties的父类的是Hashtable属于双列集合, 可以和IO流进行配合使用 
 属性列表中每个键及其对应值都是一个字符串。 
  
  public Object setProperty(String key,String value):  添加元素 
  public String getProperty(String key):     根据键获取值 
  public Set<String> stringPropertyNames():    获取所有的键的Set集合 
  public void load(Reader reader):      把文件中的数据通过IO流加载到对应的Properties中 
  public void store(Writer writer,String comments):  把Properties中的数据通过IO流存储到文件中, comments: 表示的注释的意思 
  在properties作为配置文件的时候使用的注释是以: # 开始 
 |   
        
 
    
    
    
     
 
 |