Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes how to pass bundle full path to ResourceBundle ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to pass bundle full path to ResourceBundle ?" Watch "how to pass bundle full path to ResourceBundle ?" New topic
Author

how to pass bundle full path to ResourceBundle ?

Meir Yan
Ranch Hand

Joined: Apr 27, 2006
Posts: 597
Hello all

can i pass full path so the ResourceBundle mechanism will look only to this path ?

can i pass full path and bundle name or property file to the ResourceBundle?

i need to avoid the classpath . ( application needs )

can it be done?
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
See if PropertyResourceBundle does what you need. You can load it from a file stream.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to pass bundle full path to ResourceBundle ?
 
Similar Threads
Problem with ResourceBundle and Weblogic
Servlets and PropertyResourceBundle
Need to resolve ClassCastException
how can i get the path from which resource bundle gets its bundle file
message resource bundle