| Package | com.pblabs.engine.resource |
| Class | public class ResourceBundle |
| Inheritance | ResourceBundle Object |
See also
| Property | Defined By | ||
|---|---|---|---|
| ExtensionTypes : Object [static]
ExtensionTypes associates filename extensions with the resource type that they are to be loaded as. | ResourceBundle | ||
| Method | Defined By | ||
|---|---|---|---|
The constructor is where all of the magic happens. | ResourceBundle | ||
| ExtensionTypes | property |
public static var ExtensionTypes:ObjectExtensionTypes associates filename extensions with the resource type that they are to be loaded as. Each entry should be in the form of 'xml:"com.pblabs.engine.resource.XMLResource"' Where xml is the filename extension that should be associated with this type, and where "com.pblabs.engine.resource.XMLResource" is the fully qualified resource class name string, and png is the (lower-case) extension. This array can be extended at runtime, such as: ResourceBundle.ExtensionTypes.mycustomext = "com.mydomain.customresource"
| ResourceBundle | () | Constructor |
public function ResourceBundle()The constructor is where all of the magic happens. This is where the ResourceBundle loops through all of its public properties and registers any embedded resources with the ResourceManager.