Programming Tutorials

Comment on Tutorial - Properties example in Java By Jagan



Comment Added by : DD

Comment Added at : 2011-09-13 13:00:30

Comment on Tutorial : Properties example in Java By Jagan
DOBN'T USE THIS SHIT
IT IS STRONGLY DISCOURAGED TO USE.

THIS IS WHAT ORACLE SAYS ABOUT THIS
Because Properties inherits from Hashtable, the put and putAll methods can be applied to a Properties object. Their use is strongly discouraged as they allow the caller to insert entries whose keys or values are not Strings

http://download.oracle.com/javase/6/docs/api/java/util/Properties.html#setProperty%28java.lang.String,%20java.lang.String%29


View Tutorial