1.
java.lang.Object
?
java.util.Dictionary
?????
java.util.Hashtable
?????????
java.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");
java.lang.Object
?

?????

?????????

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");