>From: "Simon Lessard" <[EMAIL PROTECTED]> > > > >If we accept only a map, it's quite exclusive, unless we add yet another tag, >but I would be -1 on >that. However, as Adam suggested, we could call it >"translation-source" and support both Map and >ResourceBundle instances. We >have to a very thin adapter Map --> ResourceBundle if a Map >instance is >passed and the remaining code will continue to work as it's now, with a >ResourceBundle. >
FWIW, Shale has a utility class that sounds very similar to what you have described [1]. [1] http://svn.apache.org/viewvc/shale/framework/trunk/shale-core/src/main/java/org/apache/shale/util/LoadBundle.java?view=markup > >~ Simon Gary
