|
||
Interface status: | deprecated | Deprecated in 9.1 6.0 |
class CUri16 : public CBase;
Dependencies : CBase
, TUriC16
. Comments : Provides modifying functionality on the components of a uri object, as defined in RFC2396. There are 5 components;
scheme. authority, path, query and fragment.
The object holds parsed uri information. It is owning. It uses 16-bit descriptors.
The functionality provided by this API allows the uri components to be set or removed from this parsed uri. Also, it provides
a reference to TUriC16
object so that the non-modifying functionality can be used.
CBase
-
Base class for all classes to be instantiated on the heap.
CUri16
- Dependencies : CBase, TUriC16. Comments : Provides modifying functionality on th...
Defined in CUri16
:
CreateFileUriL(const TDesC &,TUint)
Allocates and constructs a file URI object for a specified file.CreatePrivateFileUriL(const TDesC &,TDriveNumber,TInt)
Allocates and constructs a file URI object for a file that is private to the app...NewL()
Static factory constructor. Uses two phase construction and leaves nothing on th...NewL(const TUriC16 &)
Static factory constructor. Uses two phase construction and leaves nothing on th...NewLC()
Static factory constructor. Uses two phase construction and leaves a pointer to ...NewLC(const TUriC16 &)
Static factory constructor. Uses two phase construction and leaves a pointer to ...RemoveComponentL(TUriComponent)
Removes the specified component from the uri. If the component does not exist th...ResolveL(const TUriC16 &,const TUriC16 &)
Static factory constructor. This creates a CUri16 object that is an absolute uri...SetComponentL(const TDesC16 &,TUriComponent)
Sets the specified component in the uri. The component is set to the value given...Uri()const
Provides a reference to the parsed uri. Allows access to the non-modifying API f...~CUri16()
Destructor.Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...Interface status: | deprecated | Deprecated in 9.1 6.0 |
IMPORT_C static CUri16* NewL(const TUriC16 &aUri);
Static factory constructor. Uses two phase construction and leaves nothing on the CleanupStack
. Creates a uri object which is a copy of the input parameter aUri.
A fully constructed and initialized CUri16 object.
|
|
Interface status: | deprecated | Deprecated in 9.1 |
IMPORT_C static CUri16* NewLC(const TUriC16 &aUri);
Static factory constructor. Uses two phase construction and leaves a pointer to created object on the CleanupStack
. Creates a uri object which is a copy of the input parameter aUri.
A fully constructed and initialized CUri16 object.
|
|
Interface status: | deprecated | Deprecated in 9.1 |
IMPORT_C static CUri16* NewL();
Static factory constructor. Uses two phase construction and leaves nothing on the CleanupStack
. Creates a uri object which is empty.
A fully constructed and initialized CUri16 object.
|
Interface status: | deprecated | Deprecated in 9.1 |
IMPORT_C static CUri16* NewLC();
Static factory constructor. Uses two phase construction and leaves a pointer to created object on the CleanupStack
. Creates a uri object which is empty.
A fully constructed and initialized CUri16 object.
|
Interface status: | deprecated | Inherited from: CUri16 |
IMPORT_C static CUri16* CreateFileUriL(const TDesC &aFullFileName, TUint aFlags=0);
Allocates and constructs a file URI object for a specified file.
If the file exists on a fixed drive, then the file URI takes the form: 'file:///<drive-letter>/<filepath including filename>'.
If the file exists on a removable media drive, then the file URI takes the form: 'file:///ext-media/<filepath including filename>'.
A fully constructed and initialized file URI (CUri16) object.
|
|
Interface status: | deprecated | Inherited from: CUri16 |
IMPORT_C static CUri16* CreatePrivateFileUriL(const TDesC &aRelativeFileName, TDriveNumber aDrive, TInt aFlags=0);
Allocates and constructs a file URI object for a file that is private to the application.
If the file exists on a fixed drive, then the file URI takes the form 'file:///private/<drive-letter>/<filepath including filename>'.
If the file exists on a removable media drive, then the file URI takes the form 'file:///private/ext-media/<filepath including filename>'.
A fully constructed and initialized file URI (CUri16) object.
|
|
Interface status: | deprecated | Deprecated in 9.1 |
IMPORT_C static CUri16* ResolveL(const TUriC16 &aBaseUri, const TUriC16 &aRefUri);
The base uri must have an absolute or empty path, otherwise will leave with KUriErrBadBasePath.
Static factory constructor. This creates a CUri16 object that is an absolute uri resulting from a reference uri being resolved against a base uri.
A fully constructed and initialized CUri16 object.
|
|
|
Interface status: | deprecated | Deprecated in 9.1 |
IMPORT_C const TUriC16& Uri() const;
Provides a reference to the parsed uri. Allows access to the non-modifying API for TUriC16
.
|
Interface status: | deprecated | Deprecated in 9.1 |
IMPORT_C void SetComponentL(const TDesC16 &aData, TUriComponent aComponent);
Object is fully constructed.
Sets the specified component in the uri. The component is set to the value given in the argument aData. If the specified component already exists then it is replaced with the new value.
The uri has the specified component set to the new value.
|
Interface status: | deprecated | Deprecated in 9.1 |
IMPORT_C void RemoveComponentL(TUriComponent aComponent);
Object is fully constructed.
Removes the specified component from the uri. If the component does not exist then this function does nothing.
The uri is updated to exclude the specified component.
|