Hi All, I wanna read a .properties file. Whats the difference between java.util.ResourceBundle and java.util.Properties? which one is better in performance criteria?
Thanks in advance Nits
posted 10 years ago
I wouldn't worry about performance differences, unless you're reading thousands of files - it should be negligible.
Resource bundles are typically used for internationalizing and localizing applications, so that differents messages are displayed for each language: Java Tutorial about Resource bundles. In general, you should use java.util.Properties.