#include <URI.h>
Public Member Functions | |
| TURI (const IString &rPath) | |
| TURI (TString strPath) | |
| TURI (const TURI &rURI) | |
| virtual | ~TURI () |
| void | assign (const TURI &rURI) |
| bool | equals (const TURI &rURI) const |
| TString | getAuthority () const |
| TString | getHostName () const |
| TString | getPath () const |
| Uint | getPort () const |
| TString | getProtocol () const |
| bool | isValid () const |
| bool | isEmpty () const |
| TString | toString () const |
| bool | operator== (const TURI &rURI) const |
| bool | operator!= (const TURI &rURI) const |
| TURI & | operator= (const TURI &rURI) |
Protected Member Functions | |
| void | setAuthority (const IString &rValue) |
| void | setHostName (const IString &rValue) |
| void | setPath (const IString &rValue) |
| void | setPort (Uint uiPort) |
| void | setProtocol (const IString &rValue) |
This class implements an URI (Unified ressource identifier) according to the RFC 2396.
| TURI::TURI | ( | const IString & | rPath ) |
Creates the URI
| rPath | : whole path of the URI including protocol |
| TURI::TURI | ( | TString | strPath ) |
Creates the URI
| strPath | : whole path of the URI including protocol |
| zeus::TURI::TURI | ( | const TURI & | rURI ) | [inline] |
Copy constructor
| zeus::TURI::~TURI | ( | ) | [inline, virtual] |
Destroys the URI
| void TURI::assign | ( | const TURI & | rURI ) |
Assigns the parsed data of an URI
| bool TURI::equals | ( | const TURI & | rURI ) | const |
Checks if two URI are equal
| TString zeus::TURI::getAuthority | ( | ) | const [inline] |
gets the authority of the URI
| TString zeus::TURI::getHostName | ( | ) | const [inline] |
gets the authority of the URI
| TString zeus::TURI::getPath | ( | ) | const [inline] |
gets the path of the URI
| Uint zeus::TURI::getPort | ( | ) | const [inline] |
Returns the port of the authority string
| TString zeus::TURI::getProtocol | ( | ) | const [inline] |
gets the protocol of the URI
| bool zeus::TURI::isEmpty | ( | ) | const [inline] |
Check if the URI is empty
| bool zeus::TURI::isValid | ( | ) | const [inline] |
This returns true if the URI is valid. Note that this method does not check if the URI exists.
| bool zeus::TURI::operator!= | ( | const TURI & | rURI ) | const [inline] |
not equals operator
| bool zeus::TURI::operator== | ( | const TURI & | rURI ) | const [inline] |
equals operator
| void zeus::TURI::setAuthority | ( | const IString & | rValue ) | [inline, protected] |
sets the Authority of the URI
| void zeus::TURI::setHostName | ( | const IString & | rValue ) | [inline, protected] |
sets the host name of the URI
| void zeus::TURI::setPath | ( | const IString & | rValue ) | [inline, protected] |
sets the path of the URI
| void zeus::TURI::setPort | ( | Uint | uiPort ) | [inline, protected] |
sets the port of the URI
| void zeus::TURI::setProtocol | ( | const IString & | rValue ) | [inline, protected] |
sets the protocol name (scheme)
| TString zeus::TURI::toString | ( | ) | const [inline] |
Returns the whole URI as a string
Reimplemented from zeus::TZObject.