Packageorg.as3utils
Classpublic final class URLUtil
InheritanceURLUtil Inheritance Object

A utility class to work with URL strings.



Public Methods
 MethodDefined By
  
URLUtil is a static class and shouldn't be instantiated.
URLUtil
  
appendVar(url:String, varName:String, varValue:String):String
[static]
URLUtil
  
getURLRequest(url:String):URLRequest
[static]
URLUtil
  
isHttp(url:String):Boolean
[static]
URLUtil
  
isHttps(url:String):Boolean
[static]
URLUtil
  
navigateToURL(url:String, window:String = null):void
[static]
URLUtil
Constructor Detail
URLUtil()Constructor
public function URLUtil()

URLUtil is a static class and shouldn't be instantiated.


Throws
IllegalOperationError — URLUtil is a static class and shouldn't be instantiated.
Method Detail
appendVar()method
public static function appendVar(url:String, varName:String, varValue:String):String

Parameters

url:String
 
varName:String
 
varValue:String

Returns
String
getURLRequest()method 
public static function getURLRequest(url:String):URLRequest

Parameters

url:String

Returns
URLRequest
isHttp()method 
public static function isHttp(url:String):Boolean

Parameters

url:String

Returns
Boolean
isHttps()method 
public static function isHttps(url:String):Boolean

Parameters

url:String

Returns
Boolean
navigateToURL()method 
public static function navigateToURL(url:String, window:String = null):void

Parameters

url:String
 
window:String (default = null)