diff -r 80ef3a206772 -r 48780e181b38 Symbian3/SDK/Source/GUID-AFAD0F36-330B-50BD-B810-85BE7FA21179.dita --- a/Symbian3/SDK/Source/GUID-AFAD0F36-330B-50BD-B810-85BE7FA21179.dita Fri Jul 16 17:23:46 2010 +0100 +++ b/Symbian3/SDK/Source/GUID-AFAD0F36-330B-50BD-B810-85BE7FA21179.dita Tue Jul 20 12:00:49 2010 +0100 @@ -33,7 +33,7 @@ the physical path of the file:

K:/ws/direct/direct.mmp

gives the following URI file:

///k/ws/direct/direct.mmp

The screen output from this example is:

- +

Modifying a URI

void CExampleInetProtUtil::ModifyUriComponents();

Modifies URI components, which involves:

  1. Adding URI components, @@ -45,18 +45,18 @@

  2. port: 8080

  3. to get the complete URI:

    http://waterlang.org:8080/main_page.html

    The screen output from this example is:

    - +
  4. Removing the specific URI component(s) from a constructed URI. For example, the above URI with the port number removed:

    http://waterlang.org/main_page.html

    The screen output from this example is:

    - +

Resolving a URI

void CExampleInetProtUtil::ResolveUri();

Resolves the URI, which involves creation of an absolute CUri object from a given reference URI.

The screen output from this example is:

- +

Parsing a URI

void CExampleInetProtUtil::ParseUri();

Parses the URI into its components (as given in RFC2396). The five URI components are:

The screen output from this example is:

- +

Validating a URI

void CExampleInetProtUtil::ValidateUriComponents();

Validates a given URI. This function is usually used for URIs with SIP as the scheme.

The screen output from this example is:

- +

Extracting URI components

void CExampleInetProtUtil::ExtractUriComponents();

Extracts URI components from the given URI.

The screen output from this example is:

- +

Retrieving a filename from a URI

void CExampleInetProtUtil::RetrieveFileName();

Extracts the actual physical location of the file from its URI.

The screen output from this example is:

- +

Adding and removing delimiters from a URI

void CExampleInetProtUtil::ModifyDelimiter();

Adds the delimiters to and removes the delimiters from a URI. Before doing this ensure that:

The screen output from this example is:

- +

Removing whitespace from a URI

void CExampleInetProtUtil::WhiteSpaceRemover();

Removes the whitespace from the given URI and returns the number of white spaces that were removed.

The screen output from this example is:

- +

Escape encoding and decoding a URI

void CExampleInetProtUtil::EscapeEncodeDecode();

Escape encodes the characters in a given URI as escape triplets and decodes it to the original one.

The screen output from this example is:

- +
Class Summary

CUri8

TUriParser8

EscapeUtils

TDelimitedParserBase8

InetProtTextUtils

\ No newline at end of file