Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is a ResourceBundle and what it is used for?

resourcebundle Used
0
Posted

What is a ResourceBundle and what it is used for?

0

Location: http://www.jguru.com/faq/view.jsp?EID=38057 Created: Apr 19, 2000 Modified: 2000-04-19 22:29:35.666 Author: John Zukowski (http://www.jguru.com/guru/viewbio.jsp?EID=7) Question originally posed by Sajeev Anand (http://www.jguru.com/guru/viewbio.jsp?EID=14623 A ResourceBundle is like a specialized form of a Hashtable that maps strings to values. That doesn’t sound too exciting by itself, but the magic of ResourceBundle allows you to have different lookup tables based upon what Locale (language/country) a user is coming in from. And, if a setting doesn’t change between languages/countries, there is no need to repeat the setting in the customized bundle, as the runtime will search through several bundles until it finds a mapping (though in theory it could find none). Resource bundles also support another level of variants beyond language/country, such that you can have customized labels/messages for people in California and New York.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123