Class EncodingHandler

Superclasses :
util::Error
Subclasses :
mail::Base64Handler
mail::NoOpHandler
mail::QuotedPrintableHandler
Package :
mail

Handles the conversion from decoded content to an object

Source

Class summary
Methods inherited from util::Error
error(a) get_reason()
Variables inherited from util::Error
reason
Methods defined in this class
can_handle(enc) decode_data(m, data) encode_data(m, data)

Method detail

can_handle(enc)

Succeed if this object can handle the given encoding
Parameters :
enc - the encoding (a string, eg "7bit")
Source

decode_data(m, data)

Decode the given data
Parameters :
m - the Message
data - the source data (a string)
Source

encode_data(m, data)

Create string data from the given object
Parameters :
m - the Message
data - the raw data (a string)
Source