Packageorg.springextensions.actionscript.ioc.config.impl
Classpublic class TextFilesLoader
InheritanceTextFilesLoader Inheritance org.as3commons.async.operation.impl.OperationQueue
Implements ITextFilesLoader



Public Methods
 MethodDefined By
  
TextFilesLoader(name:String)
Creates a new TextFilesLoader instance.
TextFilesLoader
  
addURI(URI:String, preventCache:Boolean = true, isRequired:Boolean = true):void
TextFilesLoader
  
addURIs(URIs:Vector.<TextFileURI>):void
TextFilesLoader
  
dispatchCompleteEvent(result:* = null):Boolean
[override]
TextFilesLoader
  
formatURL(url:String, preventCache:Boolean):String
Adds a random number to the url, checks if a '?' character is already part of the string than suffixes a '&' character
TextFilesLoader
Protected Methods
 MethodDefined By
  
cleanUpLoadURLOperation(operation:IOperation):void
TextFilesLoader
  
textFileLoaderComplete(event:OperationEvent):void
TextFilesLoader
  
textFileLoaderError(event:OperationEvent):void
TextFilesLoader
Constructor Detail
TextFilesLoader()Constructor
public function TextFilesLoader(name:String)

Creates a new TextFilesLoader instance.

Parameters
name:String — An optional name for the current TextFilesLoader.
Method Detail
addURI()method
public function addURI(URI:String, preventCache:Boolean = true, isRequired:Boolean = true):void

Parameters

URI:String
 
preventCache:Boolean (default = true)
 
isRequired:Boolean (default = true)

addURIs()method 
public function addURIs(URIs:Vector.<TextFileURI>):void

Parameters

URIs:Vector.<TextFileURI>

cleanUpLoadURLOperation()method 
protected function cleanUpLoadURLOperation(operation:IOperation):void

Parameters

operation:IOperation

dispatchCompleteEvent()method 
override public function dispatchCompleteEvent(result:* = null):Boolean

Parameters

result:* (default = null)

Returns
Boolean
formatURL()method 
public function formatURL(url:String, preventCache:Boolean):String

Adds a random number to the url, checks if a '?' character is already part of the string than suffixes a '&' character

Parameters

url:String — The url that will be processed
 
preventCache:Boolean

Returns
String — The formatted URL
textFileLoaderComplete()method 
protected function textFileLoaderComplete(event:OperationEvent):void

Parameters

event:OperationEvent

textFileLoaderError()method 
protected function textFileLoaderError(event:OperationEvent):void

Parameters

event:OperationEvent