protected ResourceBundle createResourceBundle ( String setType , String path , List < ResourceBundle > dlist ) { if ( setType . equals ( FILE_SET_TYPE ) ) { FileResourceBundle bundle = createFileResourceBundle ( getResourceFile ( path ) , true , _unpack ) ; if ( ! bundle . isUnpacked ( ) || ! bundle . sourceIsReady ( ) ) { dlist . add ( bundle ) ; } return bundle ; } else if ( setType . equals ( NETWORK_SET_TYPE ) ) { return createNetworkResourceBundle ( _networkRootPath , path , getResourceList ( ) ) ; } else { throw new IllegalArgumentException ( "Unknown set type: " + setType ) ; } }
Creates a ResourceBundle based on the supplied definition information .