| Home | Trees | Index | Help |
|---|
| Package svnmailer :: Module stream :: Class SplittingStream |
|
object--+ |_BaseStream--+ | SplittingStream
| Method Summary | |
|---|---|
Initialization | |
Closes the stream and removes all tempfiles | |
str
|
Returns the value of part idx |
int
|
Returns the number of splitted parts |
Splits the stream | |
Writes to the current stream and counts the number of bytes | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... | |
helper for pickle... | |
helper for pickle... | |
x.__repr__() <==> repr(x)... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... | |
| Instance Variable Summary | |
|---|---|
int |
current: The current byte counter |
| Method Details |
|---|
__init__(self,
tempdir=None)
Initialization
|
close(self)Closes the stream and removes all tempfiles
|
getPart(self, idx)Returns the value of partidx
|
getPartCount(self)Returns the number of splitted parts
|
split(self)Splits the stream This dumps the current content into a tempfile clears the old stream. |
write(self, towrite)Writes to the current stream and counts the number of bytes
|
| Instance Variable Details |
|---|
currentThe current byte counter
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Mon Apr 17 12:39:11 2006 | http://epydoc.sf.net |