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
Difference between current previous versions of Java?
What are keywords give examples?
how to one war file class to another war file class?
Why do you canvas?
Why there is no call by reference in java?
Which is better singleton or static class?
what is ststic with example
Which class represents the socket that both the client and server use to communicate with each other?
Can you access the private method from outside the class?
What is a ternary operator in java?
what is thread in Java ?
What is function declaration?
Is arraylist zero based?
How many threads can I run java?
What is difference between path and classpath?