Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes Properties class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Properties class" Watch "Properties class" New topic
Author

Properties class

Suresh Appagundi
Ranch Hand

Joined: Sep 22, 2003
Posts: 44
Is Properties methods synchronized? like Hashtable.

thanks
Suresh Appagundi
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8843
    
    7

Properties extends Hashtable, so any method that Properties doesn't override would be synchronized. You could also look at the source (check your SDK directory for a src.zip file) and see that many Properties methods, like setProperty() and load(), are synchronized.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Properties class
 
Similar Threads
Common resource for all configurable parameters.
How not to hard-code file location in java?
Passing runtime parameters to EJB
WA #1.....word association
Bound & Constraints properties