Package | artcustomer.framework.loaders.assets.resources |
Class | public class ResourceFile |
Inheritance | ResourceFile AbstractValueObject Object |
Method | Defined By | ||
---|---|---|---|
ResourceFile(definition:Class = null, type:String = null, extensions:Vector.<ResourceType> = null)
Constructor
| ResourceFile | ||
addExtension(extension:String, mimeType:String):void
Add extension in resource. | ResourceFile | ||
destroy():void [override]
Destructor. | ResourceFile | ||
formatToString(object:*, className:String, ... properties):String
Format to string. | AbstractValueObject | ||
getExtensionAt(index:int):ResourceType
Get ResourceType at index. | ResourceFile | ||
toString():String [override]
Get Strng format of object. | ResourceFile |
ResourceFile | () | Constructor |
public function ResourceFile(definition:Class = null, type:String = null, extensions:Vector.<ResourceType> = null)
Constructor
Parametersdefinition:Class (default = null )
| |
type:String (default = null )
| |
extensions:Vector.<ResourceType> (default = null )
|
addExtension | () | method |
public function addExtension(extension:String, mimeType:String):void
Add extension in resource.
Parameters
extension:String | |
mimeType:String |
destroy | () | method |
override public function destroy():void
Destructor.
getExtensionAt | () | method |
public function getExtensionAt(index:int):ResourceType
Get ResourceType at index.
Parameters
index:int |
ResourceType —
|
toString | () | method |
override public function toString():String
Get Strng format of object.
ReturnsString —
|