Package svnmailer :: Module stream :: Class BinaryOrUnicodeStream
[show private | hide private]
[frames | no frames]

Class BinaryOrUnicodeStream

 object --+    
_BaseStream --+

Stream wrapper, which accepts unicode or binary data

Unicode data is converted to UTF-8

Method Summary
  write(self, towrite)
Write a string or unicode
    Inherited from _BaseStream
  __init__(self, stream)
  __getattr__(self, name)
Delegates all undefined attributes to the stream
Closes the stream
  writelines(self, lines)
Write a list of strings
    Inherited from object
x.__delattr__('name') <==> del
x.__getattribute__('name') <==>
x.__hash__() <==> hash(x)...
helper for pickle...
helper for pickle...
x.__repr__() <==> repr(x)...
x.__setattr__('name', value) <==> = value...
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
    Inherited from _BaseStream
file stream: The wrapped stream

Method Details

write(self, towrite)

Write a string or unicode

Generated by Epydoc 2.0 on Sun Sep 25 20:49:20 2005