Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: 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:
Parse(), TUriParser8()

Inherited from TUriC8:
Compare(), DisplayFormL(), Extract(), GetFileNameL(), IsPresent(), IsSchemeValid(), UriDes(), UriWithoutFragment(), iComponent, iUriDes


Construction and destruction


TUriParser8()

IMPORT_C TUriParser8();

Description

Constructor.

[Top]


Member functions


Parse()

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