aspose file tools*
The moose likes Beginning Java and the fly likes ResourceBundle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "ResourceBundle" Watch "ResourceBundle" New topic
Author

ResourceBundle

Cameron Park
Ranch Hand

Joined: Apr 06, 2001
Posts: 371
I need to know what exactly is ResourceBundle, and what exactly does its getBundle() do?
Does it read off a properties file?
Tom Ben
Ranch Hand

Joined: Aug 17, 2001
Posts: 109
Here is what it says from the Documentation
When your program needs a locale-specific object, it loads the ResourceBundle class using the getBundle method:
ResourceBundle myResources =
ResourceBundle.getBundle("MyResources", currentLocale);
------------------
Sun Certified Programmer on the Java 2 Platform


Sun Certified Programmer on the Java 2 Platform
Cameron Park
Ranch Hand

Joined: Apr 06, 2001
Posts: 371
What does it mean by "locale-specific object"?
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
A tutorial:
http://java.sun.com/docs/books/tutorial/i18n/resbundle/


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ResourceBundle