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)... | |
helper for pickle... | |
helper for pickle... | |
x.__repr__() <==> repr(x)... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... | |
Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... |
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.0 on Sun Sep 25 20:49:11 2005 | http://epydoc.sf.net |