Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <Uri8.h>
Link against: inetprotutil.lib

Class TUriParser8

class TUriParser8 : public TUriC8;

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

Derivation

Members

Defined in TUriParser8:

Inherited from TUriC8:


Construction and destruction


TUriParser8()

IMPORT_C TUriParser8();

Description

Constructor.

[Top]


Member functions


Parse(const TDesC8 &)

IMPORT_C TInt Parse(const TDesC8 &aUri);

Description

Parses the descriptor aUri into uri components.

Post-Condition

The object references the input descriptor.

Parameters

const TDesC8 &aUri

A reference to a descriptor pointer to be parsed.

Return value

TInt

KErrNone if the descriptor has been parsed into uri components. KUriUtilsParserErrInvalidUri if the descriptor is an invalid uri. KErrNoMemory if out of memory