| Package | org.springextensions.actionscript.core.io.support |
| SVN browsing | LoadPropertiesBatchOperation.as |
| Fisheye | LoadPropertiesBatchOperation.as |
| Class | public class LoadPropertiesBatchOperation |
| Inheritance | LoadPropertiesBatchOperation OperationQueue AbstractProgressOperation AbstractOperation flash.events.EventDispatcher |
Documentation reference: operations
| Method | Defined by | ||
|---|---|---|---|
|
LoadPropertiesBatchOperation(locations:Array, ignoreResourceNotFound:Boolean = false, preventCache:Boolean = true)
Creates a new
LoadPropertiesBatchOperation object. | LoadPropertiesBatchOperation | ||
![]() |
addCompleteListener(listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Convenience method for adding a listener to the OperationEvent.COMPLETE event.
| AbstractOperation | |
![]() |
addErrorListener(listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Convenience method for adding a listener to the OperationEvent.ERROR event.
| AbstractOperation | |
![]() |
addOperation(operation:IOperation):Boolean
Adds an operation to the queue.
| OperationQueue | |
![]() |
addProgressListener(listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Convenience method for adding a listener to the OperationEvent.PROGRESS event.
| AbstractProgressOperation | |
![]() |
addTimeoutListener(listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Convenience method for adding a listener to the OperationEvent.TIMEOUT event.
| AbstractOperation | |
![]() |
dispatchCompleteEvent(result:* = null):Boolean
Convenience method for dispatching a
OperationEvent.COMPLETE event. | AbstractOperation | |
![]() |
dispatchErrorEvent(error:* = null):Boolean
Convenience method for dispatching a
OperationEvent.ERROR event. | AbstractOperation | |
![]() |
dispatchTimeoutEvent():Boolean
Convenience method for dispatching a
OperationEvent.TIMEOUT event. | AbstractOperation | |
![]() |
removeCompleteListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.COMPLETE event.
| AbstractOperation | |
![]() |
removeErrorListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.ERROR event.
| AbstractOperation | |
![]() |
removeProgressListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.PROGRESS event.
| AbstractProgressOperation | |
![]() |
removeTimeoutListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.TIMEOUT event.
| AbstractOperation | |
![]() |
toString():String
| OperationQueue | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
addOperationListeners(operation:IOperation):void
Adds the
operation_completeHandler and operation_errorHandler event handler to
the specified operation instance. | OperationQueue | |
![]() |
dispatchProgressEvent():void
Convenience method for dispatching a
OperationEvent.PROGRESS event. | AbstractProgressOperation | |
|
init(locations:Array, ignoreResourceNotFound:Boolean, preventCache:Boolean):void
Creates a new
Properties instance and uses this to load the Array of locations. | LoadPropertiesBatchOperation | ||
![]() |
operation_completeHandler(event:OperationEvent):void
Handles the completion of an operation in this queue.
| OperationQueue | |
![]() |
operation_errorHandler(event:OperationEvent):void
Handles an error from an operation in this queue.
| OperationQueue | |
![]() |
removeOperationListeners(operation:IOperation):void
Removes the
operation_completeHandler and operation_errorHandler event handler from
the specified operation instance. | OperationQueue | |
![]() |
startTimeout():void
| AbstractOperation | |
| LoadPropertiesBatchOperation | () | constructor |
public function LoadPropertiesBatchOperation(locations:Array, ignoreResourceNotFound:Boolean = false, preventCache:Boolean = true)
Creates a new LoadPropertiesBatchOperation object.
locations:Array — the locations of the external properties files
|
|
ignoreResourceNotFound:Boolean (default = false) — whether or not a failure to load a file should result in a runtime error
|
|
preventCache:Boolean (default = true) |
| init | () | method |
protected function init(locations:Array, ignoreResourceNotFound:Boolean, preventCache:Boolean):void
Creates a new Properties instance and uses this to load the Array of locations.
locations:Array — the locations of the external properties files
|
|
ignoreResourceNotFound:Boolean — whether or not a failure to load a file should result in a runtime error
|
|
preventCache:Boolean |