Packagecom.ericfeminella.external
Interfacepublic interface IResourceBundleManager
ImplementorsResourceBundleManager

Defines the contract for classes which must provide an API for working with manages ResourceBundles



Public Methods
 MethodDefined by
  
addResourceBundle(id:String, rb:ResourceBundle):void
Adds a ResourceBundle with an associated key to ResourceBundleManager internal hash
IResourceBundleManager
  
containsResourceBundle(id:String):Boolean
Determines if a ResourceBundle instance has been registered
IResourceBundleManager
  
Returns a String Array of all registered ResourceBundles is names
IResourceBundleManager
  
getResourceBundle(id:String):ResourceBundle
Returns a ResourceBundle which has previously been specified via addResourceBundle
IResourceBundleManager
  
getResourceBundles():Dictionary
Returns internal ResourceBundle hash
IResourceBundleManager
  
removeResourceBundle(id:String):void
Deletes a registered ResourceBundle instance from registration
IResourceBundleManager
Method detail
addResourceBundle()method
public function addResourceBundle(id:String, rb:ResourceBundle):void

Adds a ResourceBundle with an associated key to ResourceBundleManager internal hash

Parameters
id:String — identifier of the ResourceBundle
 
rb:ResourceBundle — ResourceBundle to add
containsResourceBundle()method 
public function containsResourceBundle(id:String):Boolean

Determines if a ResourceBundle instance has been registered

Parameters
id:String — the id of the specific registered ResourceBundle

Returns
Boolean — true if the ResourceBundle has been registered, false if not
getRegisteredResourceBundles()method 
public function getRegisteredResourceBundles():Array

Returns a String Array of all registered ResourceBundles is names

Returns
Array — a String Array of all registered ResourceBundles
getResourceBundle()method 
public function getResourceBundle(id:String):ResourceBundle

Returns a ResourceBundle which has previously been specified via addResourceBundle

Parameters
id:String — id of the internal hash persisted ResourceBundle

Returns
ResourceBundle — internal hash persisted ResourceBundle
getResourceBundles()method 
public function getResourceBundles():Dictionary

Returns internal ResourceBundle hash

Returns
Dictionary — Dictionary containing registered ResourceBundles
removeResourceBundle()method 
public function removeResourceBundle(id:String):void

Deletes a registered ResourceBundle instance from registration

Parameters
id:String — the id of the specific registered ResourceBundle to remove