On Mon, 27 Jul 2009 17:41:22 +0200, Simon <>
wrote, quoted or indirectly quoted someone who said :
>ResourceBundle#getBundle() [1] has a very nice strategy to lookup files
>based on a locale. Is there a way to get similar functionality that just
>returns a list of resources, e.g. as URLs, but leaves the loading and
>the chaining to the parents to the caller?
>
>In my case, these are XML localized documentation files, but I can
>imagine that this is also useful for other applications like localized
>Icons, etc.
A way to solve this problem if you can't do it with the docs is to
look in src.zip for the source code of getBundle. You can then see if
they have neatly partitioned the find and load logic.
--
Roedy Green Canadian Mind Products
http://mindprod.com
The USA and Iraq are as mismatched combatants as Mike Tyson and a bag lady. Americans make themselves look ridiculous when they justify invading and occupying Iraq in self defence.