Url

Inherited: None

Description

Public Methods

TString

absoluteDir () const

TString

baseName () const

TString

completeSuffix () const

TString

dir () const

TString

fragment () const

TString

host () const

bool

isAbsolute () const

TString

name () const

TString

path () const

TString

query () const

TString

scheme () const

TString

suffix () const

bool

operator== (const Url & right) const

Static Methods

None

Methods Description

TString Url::absoluteDir () const

Returns the absolute dir path of the URI.


TString Url::baseName () const

Returns a base name of file in the URI path.


TString Url::completeSuffix () const

Returns a file suffix in the URI path.


TString Url::dir () const

Returns a directory of URI path.


TString Url::fragment () const

Returns the fragment of the URI.


TString Url::host () const

Returns the host of the URI if it is defined; otherwise an empty string is returned.


bool Url::isAbsolute () const

Returns true if provided path is absolute.


TString Url::name () const

Returns a file name in the URI path.


TString Url::path () const

Returns the path of the URI.


TString Url::query () const

Returns the query string of the URI if there’s a query string, or an empty result if not.


TString Url::scheme () const

Returns the scheme of the URI. If an empty string is returned, this means the scheme is undefined and the URI is then relative.


TString Url::suffix () const

Returns a file name suffix name of file in the URI path.


bool Url::operator== (Url & right) const

Compares current Url with right hand Url; Returns true if Urls are equal.