Return a copy of this object.
- Returns
- copy of this object
Implements contentHandler.
Extract the contents into the specified stream.
If needed, data will be decoded before being written into the stream.
- Exceptions
-
- Parameters
-
os | output stream |
progress | progress listener, or NULL if you do not want to receive progress notifications |
Implements contentHandler.
Extract the contents into the specified stream, without decoding it.
It may be useful in case the encoding is not supported and you want to extract raw data.
- Parameters
-
os | output stream |
progress | progress listener, or NULL if you do not want to receive progress notifications |
Implements contentHandler.
Output the contents into the specified stream.
Data will be encoded before being written into the stream. This is used internally by the body object to generate the message, you may not need to use this (see contentHandler::extract() if you want to get the contents).
- Parameters
-
os | output stream |
enc | encoding for output |
maxLineLength | maximum line length for output |
Implements contentHandler.
References encoding::getEncoder(), and vmime::mediaTypes::TEXT.
Returns a hint about the kind of data managed by this object.
- Returns
- type content media type
Implements contentHandler.
Returns the encoding used for data (or "binary" if not encoded).
- Returns
- encoding used for data
Implements contentHandler.
bool isBuffered |
( |
| ) |
const |
|
virtual |
Indicates whether the extract() method can be called multiple times.
- Returns
- true if the data can be extracted multiple times, or false if not (ie. streamed data from socket)
Implements contentHandler.
void setContentTypeHint |
( |
const mediaType & |
type | ) |
|
|
virtual |
Gives a hint about the kind of data managed by this object.
- Parameters
-
Implements contentHandler.
The documentation for this class was generated from the following files: