Package | com.ericfeminella.external |
Interface | public interface IResourceBundleManager |
Implementors | ResourceBundleManager |
Method | Defined 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 | ||
getRegisteredResourceBundles():Array
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 |
addResourceBundle | () | method |
public function addResourceBundle(id:String, rb:ResourceBundle):void
Adds a ResourceBundle with an associated key to ResourceBundleManager internal hash
Parametersid: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
Parametersid:String — the id of the specific registered ResourceBundle
|
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
ReturnsArray — 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
Parametersid:String — id of the internal hash persisted ResourceBundle
|
ResourceBundle — internal hash persisted ResourceBundle
|
getResourceBundles | () | method |
public function getResourceBundles():Dictionary
Returns internal ResourceBundle hash
ReturnsDictionary — Dictionary containing registered ResourceBundles
|
removeResourceBundle | () | method |
public function removeResourceBundle(id:String):void
Deletes a registered ResourceBundle instance from registration
Parametersid:String — the id of the specific registered ResourceBundle to remove
|