Package svnmailer :: Package notifier :: Module _multimail :: Class URLDecorator
[show private | hide private]
[frames | no frames]

Class URLDecorator

object --+
         |
        URLDecorator


Shows only the urls, if the mail gets too long
Method Summary
  __init__(self, settings, groupset, maxsize, drop)
Initialization
  _getMailWriter(self, fp)
Returns a "urling" mail writer
list of _MultiMail _getMultiMails(self)
Returns the multipart mail(s)
  writeContentDiff(self, change)
Writes the content diff for a particular change
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name...
  __getattribute__(...)
x.__getattribute__('name') <==> x.name...
  __hash__(x)
x.__hash__() <==> hash(x)...
  __reduce__(...)
helper for pickle...
  __reduce_ex__(...)
helper for pickle...
  __repr__(x)
x.__repr__() <==> repr(x)...
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value...
  __str__(x)
x.__str__() <==> str(x)...
    Inherited from type
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T...

Instance Variable Summary
bool do_truncate: truncating mode?
int max_notification_size: Maximum size of one mail content
file url_fp: The alternative stream

Method Details

__init__(self, settings, groupset, maxsize, drop)
(Constructor)

Initialization
Parameters:
maxsize - The maximum number of bytes that should be written into one mail
           (type=int)
drop - maximum number of mails
           (type=int)
Overrides:
__builtin__.object.__init__

_getMailWriter(self, fp)

Returns a "urling" mail writer

_getMultiMails(self)

Returns the multipart mail(s)
Returns:
The mail(s)
           (type=list of _MultiMail)

writeContentDiff(self, change)

Writes the content diff for a particular change

Instance Variable Details

do_truncate

truncating mode?
Type:
bool

max_notification_size

Maximum size of one mail content
Type:
int

url_fp

The alternative stream
Type:
file

Generated by Epydoc 2.0 on Sun Sep 25 20:49:10 2005 http://epydoc.sf.net