This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Regarding Resource Bundle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Regarding Resource Bundle" Watch "Regarding Resource Bundle" New topic

Regarding Resource Bundle

srinibadri Srinivasan

Joined: Aug 24, 2005
Posts: 4
Hi Friends,
I have a doubt with respect to custom Resource Bundle?i.e creatingo our own resource bundle class.

In the API they have specified that if you want to create custom Resource Bundle,you should extend the Resource Bundle class and then override two APIS

i.e handleGetObject() and getKeys() method...

My doubt is when this handleGetObject() and getKeys() method are invoked?I have never seen a call to these two methods in some of the sample which I have seen ...

Please clarify me on this topic....

Thanks in advance
Scheepers de Bruin
Ranch Hand

Joined: Jul 19, 2005
Posts: 99
What is the fully qualified name of the class you're trying to extend?

I could not locate any "resource bundle" class in the Struts source...

We're doomed!!<br />Yay!!!<br />No that's bad Girr!!<br />Yay!!!
srinibadri Srinivasan

Joined: Aug 24, 2005
Posts: 4
No.. it is not related to is a normal java api...

it is java.util.ResourceBundle....

We can extend the java.util.ResourceBundle class and write our own custom ResourceBundle for our usage
Have you tried LearnNowOnline?
subject: Regarding Resource Bundle