Package ProcImap :: Package Utils :: Module MailboxFactory
[hide private]
[frames] | no frames]

Module MailboxFactory

source code

This module contains the MailboxFactory class, together with some Exceptions that are thrown by MailboxFactory, and the pathgenerator functions used for the default mailbox types (see documentation of MailboxFactory class)

Classes [hide private]
  UnknownMailboxTypeError
Raised when there is a mailbox type in the config file that is unknown to MailboxFactory.
  FactoryIsNotMailboxTypeError
Raised when you supplied a factory that is not a subclass of mailbox.Mailbox.
  PathgeneratorNotCallableError
Raised when you supplied a pathgenerator that is not callable
  MailboxOptionsNotCompleteError
Raised if there are options missing in the config file that are needed in order to produce a mailbox object
  MailboxFactory
MailboxFactory is a factory class for Mailbox objects.
Functions [hide private]
 
imap_pathgenerator(optionsdict)
Converts options into (server, name) tuple
source code
 
standard_pathgenerator(optionsdict)
Extract 'path' from options
source code