my dog learned polymorphism*
The moose likes Java in General and the fly likes refresh ResourceBundle contents Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "refresh ResourceBundle contents" Watch "refresh ResourceBundle contents" New topic
Author

refresh ResourceBundle contents

Ted Jenks
Greenhorn

Joined: Jun 08, 2001
Posts: 6
Does anyone know of a ResourceBundle implementation that provides a method to refresh the bundle that is backed by a properties file? In other words, force the bundle to load the contents of the properties file again?
Thomas Smets
Ranch Hand

Joined: Dec 11, 2001
Posts: 111
Nope you can the ressource bundles are loaded once & they cannot be dereferenced as the VM holds a reference to all the Strings (Keys & Values).

ResourceBundle help I posted earlier on another site. I will keep you informed when my version of the GC RBDL's (Garbage Collectable Resourcebundle) is made available in alpha
Hope to be able to provide you with a correct version for your needs ?


Thomas Smets
Just another developper
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: refresh ResourceBundle contents
 
Similar Threads
jsf getResourceAsStream()
Question about ResourceBundle
refresh ResourceBundle contents
resourcebundle
where to place ResourceBundle property files in Weblogic 8.1 standalone war file