wood burning stoves 2.0*
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


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
 
GeeCON Prague 2014
 
subject: how to pass bundle full path to ResourceBundle ?