Module mailbox :: Class MMDF
[hide private]
[frames] | no frames]

_ClassType MMDF

       Mailbox --+        
                 |        
_singlefileMailbox --+    
                     |    
             _mboxMMDF --+
                         |
                        MMDF

An MMDF mailbox.

Instance Methods [hide private]
 
__init__(self, path, factory=None, create=True)
Initialize an MMDF mailbox.
 
_pre_message_hook(self, f)
Called before writing each message to file f.
 
_post_message_hook(self, f)
Called after writing each message to file f.
 
_generate_toc(self)
Generate key-to-(start, stop) table of contents.

Inherited from _mboxMMDF: get_file, get_message, get_string

Inherited from _mboxMMDF (private): _install_message

Inherited from _singlefileMailbox: __len__, __setitem__, add, close, flush, has_key, iterkeys, lock, remove, unlock

Inherited from Mailbox: __contains__, __delitem__, __getitem__, __iter__, clear, discard, get, items, iteritems, itervalues, keys, pop, popitem, update, values

Inherited from Mailbox (private): _dump_message

Class Variables [hide private]

Inherited from _mboxMMDF: _mangle_from_

Method Details [hide private]

__init__(self, path, factory=None, create=True)
(Constructor)

 

Initialize an MMDF mailbox.

Overrides: Mailbox.__init__

_pre_message_hook(self, f)

 

Called before writing each message to file f.

Overrides: _singlefileMailbox._pre_message_hook

_post_message_hook(self, f)

 

Called after writing each message to file f.

Overrides: _singlefileMailbox._post_message_hook