Packageorg.springextensions.actionscript.core.io.support
SVN browsingLoadPropertiesOperation.as
FisheyeLoadPropertiesOperation.as
Classpublic class LoadPropertiesOperation
InheritanceLoadPropertiesOperation Inheritance AbstractOperation Inheritance flash.events.EventDispatcher

Operation that loads a Properties object.

See also

Properties


Documentation reference: operations


Public Properties
 PropertyDefined by
 Inheritederror : *
The error of this operation or null if no error occurred during this operation.
AbstractOperation
  location : String
[read-only] Returns the location/url of the external properties file.
LoadPropertiesOperation
 Inheritedresult : *
The result of this operation or null if the operation does not have a result.
AbstractOperation
 Inheritedtimeout : int
The timeout in milliseconds.
AbstractOperation
Public Methods
 MethodDefined by
  
LoadPropertiesOperation(location:String, preventCache:Boolean = true)
Creates a new LoadPropertiesOperation and immediately loads the properties.
LoadPropertiesOperation
 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
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
removeTimeoutListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.TIMEOUT event.
AbstractOperation
Protected Methods
 MethodDefined by
  
LoadPropertiesOperation
  
init(location:String, preventCache:Boolean):void
Creates a new Properties instance, adds the appropriate event handlers and starts the loading process.
LoadPropertiesOperation
 Inherited
startTimeout():void
AbstractOperation
Events
 EventSummaryDefined by
 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
Property detail
locationproperty
location:String  [read-only]

Returns the location/url of the external properties file.

Implementation
    public function get location():String
Constructor detail
LoadPropertiesOperation()constructor
public function LoadPropertiesOperation(location:String, preventCache:Boolean = true)

Creates a new LoadPropertiesOperation and immediately loads the properties.

Parameters
location:String — the location of the external properties file
 
preventCache:Boolean (default = true)
Method detail
disconnectListeners()method
protected function disconnectListeners(properties:Properties):voidParameters
properties:Properties
init()method 
protected function init(location:String, preventCache:Boolean):void

Creates a new Properties instance, adds the appropriate event handlers and starts the loading process.

Parameters
location:String — the location of the external properties file
 
preventCache:Boolean