Camel.MimeFilterBestenc¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Camel.MimeFilterBestenc(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(flags)¶
- Parameters:
flags (
int
) – a bitmask of data required.- Returns:
a new
Camel.MimeFilterBestenc
object- Return type:
Create a new
Camel.MimeFilterBestenc
object.
- get_best_charset()¶
- Returns:
the name of the best charset to use to encode the input text filtered by self
- Return type:
Gets the best charset that can be used to contain this content.
- get_best_encoding(required)¶
- Parameters:
required (
Camel.BestencEncoding
) – maximum level of output encoding allowed.- Returns:
the best encoding to use
- Return type:
Get the best encoding, given specific constraints, that can be used to encode a stream of bytes.