Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: Uri16.h
Link against: inetprotutil.lib

Class TUriParser16

class TUriParser16 : public TUriC16;

Description

Dependencies : TUriC16 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 16-bit descriptors.

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

Derivation

Members

Defined in TUriParser16:
Parse(), TUriParser16()

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


Construction and destruction


TUriParser16()

IMPORT_C TUriParser16();

Description

Constructor.

[Top]


Member functions


Parse()

IMPORT_C TInt Parse(const TDesC16 &aUri);

Description

Parses the descriptor aUri into uri components.

Post-Condition

The object references the input descriptor.

Parameters

const TDesC16 &aUri

A reference to a descriptor pointer to be parsed.

Return value

TInt

KErrNone if the descriptor has been parsed into uri components. EUriParserErrInvalidUri if the descriptor is an invalid uri.