Packageorg.springextensions.actionscript.core.io.support
SVN browsingLoadPropertiesBatchOperation.as
FisheyeLoadPropertiesBatchOperation.as
Classpublic class LoadPropertiesBatchOperation
InheritanceLoadPropertiesBatchOperation Inheritance OperationQueue Inheritance AbstractProgressOperation Inheritance AbstractOperation Inheritance flash.events.EventDispatcher

Operation that loads multiple external properties files in a batch.



Documentation reference: operations


Public Properties
 PropertyDefined by
 Inheritederror : *
The error of this operation or null if no error occurred during this operation.
AbstractOperation
 Inheritedname : String
The name of the queue, or the generated name if none was passed into the constructor.
OperationQueue
 Inheritedprogress : uint
The progress of this operation.
AbstractProgressOperation
 Inheritedresult : *
The result of this operation or null if the operation does not have a result.
AbstractOperation
 Inheritedtimeout : int
The timeout in milliseconds.
AbstractOperation
 Inheritedtotal : uint
The total amount of progress this operation should make before being done.
AbstractProgressOperation
Public Methods
 MethodDefined by
  
LoadPropertiesBatchOperation(locations:Array, ignoreResourceNotFound:Boolean = false, preventCache:Boolean = true)
Creates a new LoadPropertiesBatchOperation object.
LoadPropertiesBatchOperation
 Inherited
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
 Inherited
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
 Inherited
addOperation(operation:IOperation):Boolean
Adds an operation to the queue.
OperationQueue
 Inherited
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
 Inherited
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
 Inherited
dispatchCompleteEvent(result:* = null):Boolean
Convenience method for dispatching a OperationEvent.COMPLETE event.
AbstractOperation
 Inherited
dispatchErrorEvent(error:* = null):Boolean
Convenience method for dispatching a OperationEvent.ERROR event.
AbstractOperation
 Inherited
Convenience method for dispatching a OperationEvent.TIMEOUT event.
AbstractOperation
 Inherited
removeCompleteListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.COMPLETE event.
AbstractOperation
 Inherited
removeErrorListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.ERROR event.
AbstractOperation
 Inherited
removeProgressListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.PROGRESS event.
AbstractProgressOperation
 Inherited
removeTimeoutListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.TIMEOUT event.
AbstractOperation
 Inherited
toString():String
OperationQueue
Protected Methods
 MethodDefined by
 Inherited
Adds the operation_completeHandler and operation_errorHandler event handler to the specified operation instance.
OperationQueue
 Inherited
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
 Inherited
Handles the completion of an operation in this queue.
OperationQueue
 Inherited
Handles an error from an operation in this queue.
OperationQueue
 Inherited
Removes the operation_completeHandler and operation_errorHandler event handler from the specified operation instance.
OperationQueue
 Inherited
startTimeout():void
AbstractOperation
Events
 EventSummaryDefined by
 Inherited Dispatched when all the operations in the current OperationQueue have received a result.OperationQueue
 Inherited Dispatched when the current AbstractOperation has new progress information to report.AbstractProgressOperation
 Inherited Dispatched when the current AbstractOperation has completed its functionality successfully.AbstractOperation
 Inherited Dispatched when the current AbstractOperation encountered an error.AbstractOperation
 Inherited Dispatched when the current AbstractOperation timed out.AbstractOperation
Constructor detail
LoadPropertiesBatchOperation()constructor
public function LoadPropertiesBatchOperation(locations:Array, ignoreResourceNotFound:Boolean = false, preventCache:Boolean = true)

Creates a new LoadPropertiesBatchOperation object.

Parameters
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)
Method detail
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.

Parameters
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