jQuery in Action, 3rd edition
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "refresh ResourceBundle contents" Watch "refresh ResourceBundle contents" New topic

refresh ResourceBundle contents

Ted Jenks

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
It's not a secret anymore!