Static Public Member Functions

base::URI Class Reference

URI helper functions. More...

#include <libppbase/base/URI.h>

List of all members.

Static Public Member Functions

static String decode (const String &str, bool plustospace=false)
 Decodes an URI-encoded string.
static String encode (const String &str)
 Encodes string into URI-encoding.
static String reverse (const String &uri)
 Reverses an URI.

Detailed Description

URI helper functions.

Author:
Christoph Schwarz
Version:
$Id: URI.h 21 2010-09-05 04:18:17Z cschwarz1 $

Member Function Documentation

static String base::URI::decode ( const String str,
bool  plustospace = false 
) [static]

Decodes an URI-encoded string.

Parameters:
str the URI-encoded string
plustospace flag: convert plus to space
Returns:
the decoded string
static String base::URI::encode ( const String str  )  [static]

Encodes string into URI-encoding.

Parameters:
str the string to encode
Returns:
the encoded string
static String base::URI::reverse ( const String uri  )  [static]

Reverses an URI.

If an URI is already reversed, the method returns the not reversed version.

Parameters:
uri the uri to reverse
Returns:
the reversed uri

The documentation for this class was generated from the following file: