Package cheesecake :: Module util :: Class StdoutRedirector
[show private | hide private]
[frames | no frames]

Type StdoutRedirector

object --+
         |
        StdoutRedirector


Redirect stdout to a temporary file.


Method Summary
  __init__(self, filename)
  flush(self)
  read_buffer(self)
Return contents of the temporary file.
  write(self, buf)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __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)

Method Details

read_buffer(self)

Return contents of the temporary file.


Generated by Epydoc 2.1 on Fri Feb 9 02:15:12 2007 http://epydoc.sf.net