Url Class Reference

#include <Url.h>

Inherits Object.

Inheritance diagram for Url:

Inheritance graph
[legend]
Collaboration diagram for Url:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Url (const String &url)
virtual ~Url ()
String protocol () const
String host () const
unsigned int port () const
String path () const
String fileName () const

Static Public Member Functions

static String encode (const String &url)

Private Attributes

String _protocol
String _host
unsigned int _port
String _path
String _fileName

Detailed Description

Definition at line 25 of file Url.h.


Constructor & Destructor Documentation

Url::Url ( const String url  ) 

Definition at line 11 of file Url.cpp.

References _fileName, _host, _path, _port, _protocol, CSTRING(), DEBUG, URL_HOST_DEFAULT, URL_PORT_DEFAULT, and URL_PROTOCOL_DEFAULT.

Url::~Url (  )  [virtual]

Definition at line 46 of file Url.cpp.


Member Function Documentation

String Url::protocol (  )  const

Definition at line 50 of file Url.cpp.

References _protocol.

String Url::host (  )  const

Definition at line 55 of file Url.cpp.

References _host.

unsigned int Url::port (  )  const

Definition at line 60 of file Url.cpp.

References _port.

String Url::path (  )  const

Definition at line 65 of file Url.cpp.

References _path.

String Url::fileName (  )  const

Definition at line 70 of file Url.cpp.

References _fileName.

String Url::encode ( const String url  )  [static]

Definition at line 75 of file Url.cpp.


Member Data Documentation

String Url::_protocol [private]

Definition at line 45 of file Url.h.

Referenced by protocol(), and Url().

String Url::_host [private]

Definition at line 46 of file Url.h.

Referenced by host(), and Url().

unsigned int Url::_port [private]

Definition at line 47 of file Url.h.

Referenced by port(), and Url().

String Url::_path [private]

Definition at line 48 of file Url.h.

Referenced by path(), and Url().

String Url::_fileName [private]

Definition at line 49 of file Url.h.

Referenced by fileName(), and Url().


The documentation for this class was generated from the following files:
Generated on Thu Sep 6 20:14:07 2007 for Pylon Application Platform by  doxygen 1.5.1