1.
java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byjava.util.Properties



2.
    InputStream propInput = ReportGenerator.class.getResourceAsStream(templatePropName);
    Properties prop = new Properties();
    prop.load(propInput);

  


3.和Hashtable操作一样
String val= prop.getProperty(key)
prop.put("mail.smtp.debug", "true");