ResourceBundle and property files

Discussion in 'Java' started by JP, Dec 2, 2003.

  1. JP

    JP Guest

    Hi,

    My application uses a properties file to include data for a
    ResourceBundle. During the execution of the application, the user may
    want to add something to the properties file (i.e. to the
    ResourceBundle). I can edit the properties file without any problems,
    but apparently the resourcebundle is already loaded and cached in
    ResourceBundle.getBundle.

    How can I force ResourceBundle.getBundle to reload from the file
    system? Or how I can edit the ResourceBundle directly??

    Thank you,

    James
     
    JP, Dec 2, 2003
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.