What is a resource bundle?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
What is a resource bundle?
Can someone explain into me in layman terms ;what is a Resource
Bundle?
- Labels:
-
Other
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Resource bundles contain locale-specific objects. When your program needs a locale-specific resource, a String
for example, your program can load it from the resource bundle that is appropriate for the current user's locale. In this way, you can write program code that is largely independent of the user's locale isolating most, if not all, of the locale-specific information in resource bundles...
More at java doc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Joseph, did Aleksandr's explanation answer your question? If so, can you please mark the thread as answered?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Resource Bundle is nothing but Localisation and Internationalisation.
Whatever written in the UI, in which language where should it appear is taken care by Resource Bundle.
For ex. If you have to write Custom.Action file you need to extend the resourceBundle.
