File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Properties class" Watch "Properties class" New topic

Properties class

Suresh Appagundi
Ranch Hand

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

Suresh Appagundi
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

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 file) and see that many Properties methods, like setProperty() and load(), are synchronized.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Properties class
It's not a secret anymore!