File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes resource bundle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "resource bundle" Watch "resource bundle" New topic
Author

resource bundle

Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
hi, when should we use resource bundle ? thank you !

[ EJFH Nothing to do with book, so edited subject. ]
[ October 16, 2004: Message edited by: Ernest Friedman-Hill ]
Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
Alvin,
You can find the answer to your question mainly in the Java API doc... Resource Bundle is available since JDK1.1... The following is some part from the Java API doc that I extracted here for you to have a look... Hope it helps...

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.


Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
thank you, ko ko !!
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Originally posted by Alvin chew:
hi, when should we use resource bundle ? thank you !

[ EJFH Nothing to do with book, so edited subject. ]

[ October 16, 2004: Message edited by: Ernest Friedman-Hill ]



Resource bundle is like Property but Resource bundle can use in any Localization/Internationalization (L10N/I18N) that property is not.


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: resource bundle