What is the ResourceBundle?

Answer Posted / ajay

ResourceBundle is a property file handler with locales
support, it allows you to support multiple languages in
your application. There's a full explaination on what
ResourceBundle is and how it has to be used in the javadoc.

Yes, ResourceBundle can be used instead of the Properties
class. It would be particularly usefull when developing
applications for different languages. The ResourceBundle
class will find the correct properties file based on the
current user locale.

The advantages of using ResourceBundle taken from the
javadoc This allows you to write programs that can:

be easily localized, or translated, into different
languages
handle multiple locales at once
be easily modified later to support even more locales

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an object’s lock and which object’s have locks?

499


how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application

1659


What is final method in java?

533


Can I use % with real numbers?

554


State differences between C and Java?

650






Why does java have two ways to create child threads? Which way is better?

527


enlist some features of jdk.

551


Can private members of a base class are inheritable justify?

476


What is close method? How it's different from Finalize & Dispose?

550


What is http client in java?

511


What are the disadvantages of using inner classes?

542


What are static initalizers in java ?

570


What is math floor in java?

467


What is the method to declare member of a class static?

530


Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.

2360