TUriParser8 Class Reference

#include <uri8.h>

Link against: inetprotutil.lib

class TUriParser8 : public TUriC8

Inherits from

Detailed Description

Dependencies : TUriC8 Comments : Provides functionality to parse a descriptor into the components of a uri as defined in RFC2396. There are 5 components; scheme, authority, path, query and fragment.

It uses 8-bit descriptors.

Format of a uri is; scheme://authority path?query#fragment

CAUTION:

The descriptor that is parsed by an object of this class will be referenced by that object. If the original descriptor is no longer in scope there will be undefined behaviour.

Since
6.0

Constructor & Destructor Documentation

TUriParser8 ( )

IMPORT_CTUriParser8()

Constructor.

Since
6.0

Member Function Documentation

Parse ( const TDesC8 & )

IMPORT_C TIntParse(const TDesC8 &aUri)

Parses the descriptor aUri into uri components.

Since
6.0
Post-condition
The object references the input descriptor.
Parameters
aUriA reference to a descriptor pointer to be parsed.
Return Value
KErrNone if the descriptor has been parsed into uri components. KUriUtilsParserErrInvalidUri if the descriptor is an invalid uri. KErrNoMemory if out of memory