Properties file: Properties file stores information about the characteristics of a program or environment including internationalization/localization information. file.properties and java.util.properties ..what is the relation.??
eg: greetings = Hello farewell = Goodbye inquiry = How are you?
A resource bundle is essentially one or more Java "properties" files. ResourceBundle objects contain locale-specific objects. You use ResourceBundle objects to isolate locale-sensitive data, such as translatable text. In the sample program the ResourceBundle is backed by the properties files that contain the message text we want to display.
Can you please clarify Resource bundle & Properties file..difference and usage.
posted 11 years ago
The thing resource bundles bring to the party is the ability to have the Java libs determine which is the best property file for a given locale. With a property file you need to load a specific name...with a resource file you use:
And Java figures out to use a MyResources_de_CH.properties or something else...
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads