protected void resolveResourceSet ( String setName , String definition , String setType , List < ResourceBundle > dlist ) { List < ResourceBundle > set = Lists . newArrayList ( ) ; StringTokenizer tok = new StringTokenizer ( definition , ":" ) ; while ( tok . hasMoreTokens ( ) ) { set . add ( createResourceBundle ( setType , tok . nextToken ( ) . trim ( ) , dlist ) ) ; } // convert our array list into an array and stick it in the table ResourceBundle [ ] setvec = set . toArray ( new ResourceBundle [ set . size ( ) ] ) ; _sets . put ( setName , setvec ) ; // if this is our default resource bundle, keep a reference to it if ( DEFAULT_RESOURCE_SET . equals ( setName ) ) { _default = setvec ; } }
Loads up a resource set based on the supplied definition information .