CHttpFile Class Reference
class CHttpFile : public CBase
|
Class which represents one dowloaded/uploaded file
httptransfer.lib
-
Since
-
S60 v3.2
Constructor & Destructor Documentation
CHttpFile(TAny *)
CHttpFile
|
(
|
TAny
*
|
aKey
|
)
|
[private]
|
Parameters
TAny
* aKey
|
Identifier of the file
|
CHttpFile(TAny *, const RFile &)
CHttpFile
|
(
|
TAny
*
|
aKey,
|
|
const
RFile
&
|
aFileHandle
|
|
)
|
[private]
|
Parameters
TAny
* aKey
|
Identifier of the file
|
const
RFile
& aFileHandle
|
Handle to the file
|
Member Functions Documentation
ConstructL(const TDesC8 &, const TDesC &)
void
|
ConstructL
|
(
|
const
TDesC8
&
|
aUri,
|
|
const
TDesC
&
|
aPath
|
|
)
|
[private]
|
Parameters
const
TDesC8
& aUri
|
Uri of the file
|
const
TDesC
& aPath
|
Local path of the file
|
ConstructL(const TDesC8 &)
void
|
ConstructL
|
(
|
const
TDesC8
&
|
aUri
|
)
|
[private]
|
Parameters
const
TDesC8
& aUri
|
Uri of the file
|
CreateFileInFileSystemL()
void
|
CreateFileInFileSystemL
|
(
|
)
|
|
Creates the file in the file system
DeleteFileFromFileSystemL()
void
|
DeleteFileFromFileSystemL
|
(
|
)
|
|
Deletes the file from the file system
FileHandle()
RFile
|
FileHandle
|
(
|
)
|
const
|
Getter for the filehandle
Key()
Getter for the member variable iKey
NewL(TAny *, const TDesC8 &, const TDesC &)
Parameters
TAny
* aKey
|
Identifier of the file
|
const
TDesC8
& aUri
|
Uri of the file
|
const
TDesC
& aPath
|
Local path of the file
|
NewL(TAny *, const TDesC8 &, const RFile &)
Parameters
TAny
* aKey
|
Identifier of the file
|
const
TDesC8
& aUri
|
Uri of the file
|
const
RFile
& aFileHandle
|
Handle to the file
|
NewLC(TAny *, const TDesC8 &, const TDesC &)
Parameters
TAny
* aKey
|
Identifier of the file
|
const
TDesC8
& aUri
|
Uri of the file
|
const
TDesC
& aPath
|
Local path of the file
|
NewLC(TAny *, const TDesC8 &, const RFile &)
Parameters
TAny
* aKey
|
Identifier of the file
|
const
TDesC8
& aUri
|
Uri of the file
|
const
RFile
& aFileHandle
|
Handle to the file
|
Path()
const
HBufC
*
|
Path
|
(
|
)
|
const
|
Getter for the iPath member variable
SetHeaderL(const TDesC8 &, const TDesC8 &)
void
|
SetHeaderL
|
(
|
const
TDesC8
&
|
aFieldName,
|
|
const
TDesC8
&
|
aFieldValue
|
|
)
|
|
Parameters
const
TDesC8
& aFieldName
|
The field name, e.g. 'Accept'
|
const
TDesC8
& aFieldValue
|
The field value. e.g. 'text/plain'
|
SetUriL(const TDesC8 &)
void
|
SetUriL
|
(
|
const
TDesC8
&
|
aUri
|
)
|
|
TrackProgress(TBool)
void
|
TrackProgress
|
(
|
TBool
|
aValue
|
)
|
|
Setter for the member variable iTrackProgress
Parameters
TBool
aValue
|
Value of the progress flag
|
TrackingOn()
TBool
|
TrackingOn
|
(
|
)
|
const
|
Returns if tracking is set on.
Uri()
Getter for the iUri member variable
Member Data Documentation
RPointerArray< CHttpHeader > iHeaderArray
TAny * iKey
Identifier of the object Not own.
HBufC * iPath
Full path on local system Own.
TBool
iTrackProgress
TBool
|
iTrackProgress
|
[private]
|
Indicator if tracking of the progress is switched on
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.