Camel.MimeFilterBestenc¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | Camel.MimeFilter (6), GObject.Object (37) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| class | new(flags) | 
| get_best_charset() | |
| get_best_encoding(required) | |
| set_flags(flags) | 
Virtual Methods¶
| Inherited: | Camel.MimeFilter (3), GObject.Object (7) | 
|---|
Properties¶
None
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Class Details¶
- 
class Camel.MimeFilterBestenc(**kwargs)¶
- Bases: - Camel.MimeFilter- Abstract: - No - Structure: - Camel.MimeFilterBestencClass- 
classmethod new(flags)¶
- Parameters: - flags ( - int) – a bitmask of data required.- Returns: - a new - Camel.MimeFilterBestencobject- Return type: - Camel.MimeFilter- Create a new - Camel.MimeFilterBestencobject.
 - 
get_best_charset()¶
- Returns: - the name of the best charset to use to encode the input text filtered by self - Return type: - str- 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: - Camel.TransferEncoding- Get the best encoding, given specific constraints, that can be used to encode a stream of bytes. 
 
- 
classmethod