class TUriParser8 : public TUriC8 |
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
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.
Public Member Functions | |
---|---|
TUriParser8 () | |
IMPORT_C TInt | Parse (const TDesC8 &) |
Private Member Functions | |
---|---|
void | RetrieveScheme (const TPtrC8 &, TPtrC8 &) |
Inherited Attributes | |
---|---|
TUriC8::iComponent | |
TUriC8::iUriDes |
IMPORT_C TInt | Parse | ( | const TDesC8 & | aUri | ) |
Parses the descriptor aUri into uri components.
const TDesC8 & aUri | A reference to a descriptor pointer to be parsed. |
void | RetrieveScheme | ( | const TPtrC8 & | aUri, |
TPtrC8 & | aScheme | |||
) | [private] |
Parses the descriptor aUri into uri components.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.