Packagecom.google.analytics.utils
Classpublic class URL

Basic URL utility class.



Public Properties
 PropertyDefined by
  domain : String
[read-only] Indicates the domain value of the url.
URL
  hostName : String
[read-only] Indicates the host name value of the url.
URL
  path : String
[read-only] Indicates the path value of the url.
URL
  protocol : Protocols
[read-only] Indicates the protocol value of the url.
URL
  search : String
[read-only] Indicates the search of the url.
URL
  subDomain : String
[read-only] Indicates the subdomain value of the url.
URL
Public Methods
 MethodDefined by
  
URL(url:String = "")
Creates a new URL instance.
URL
Property detail
domainproperty
domain:String  [read-only]

Indicates the domain value of the url.

Implementation
    public function get domain():String
hostNameproperty 
hostName:String  [read-only]

Indicates the host name value of the url.

Implementation
    public function get hostName():String
pathproperty 
path:String  [read-only]

Indicates the path value of the url.

Implementation
    public function get path():String
protocolproperty 
protocol:Protocols  [read-only]

Indicates the protocol value of the url.

Implementation
    public function get protocol():Protocols
searchproperty 
search:String  [read-only]

Indicates the search of the url.

Implementation
    public function get search():String
subDomainproperty 
subDomain:String  [read-only]

Indicates the subdomain value of the url.

Implementation
    public function get subDomain():String
Constructor detail
URL()constructor
public function URL(url:String = "")

Creates a new URL instance.

Parameters
url:String (default = "") — The String expression to defines the URL instance.