title: How can I determine all available ResourceBundles at runtime?
body: <p>My Java app has been localised into several locales. For each locale there is a properties file with the translations. I load it as follows:</p>
  
  <pre><code>ResourceBundle bundle = ResourceBundle.getBundle("MessagesBundle", Locale.getDefault());
  </code></pre>
  
  <p>I'd like to determine at runtime all available resource bundles. The bundles are in my application's jar file. </p>
  
  <p>How can I do this?</p>