This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding Resource Bundle

 
srinibadri Srinivasan
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 99
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
srinibadri Srinivasan
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No.. it is not related to struts....it 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: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic