File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: Regarding Resource Bundle
It's not a secret anymore!