Class: Filter

Table of Contents

Class: Filter | em.py
--- | ---
An abstract filter.
Methods |
--- | ---
__init__ _flush attach close detach | flush last next write writelines
| __init__
    __init__ ( self )
Exceptions |
--- | ---
NotImplementedError
| _flush
    _flush ( self )
The _flush method should always flush the sink and should not be overridden.
| attach
    attach ( self,  filter )
Attach a filter to this one.
| close
    close ( self )
Close the filter. Do an explicit flush first, then close the sink.
| detach
    detach ( self )
Detach a filter from its sink.
| flush
    flush ( self )
The flush method can be overridden.
| last
    last ( self )
Find the last filter in this chain.
| next
    next ( self )
Return the next filter/file-like object in the sequence, or None.
| write
    write ( self,  data )
The standard write method; this must be overridden in subclasses.
Exceptions |
--- | ---
NotImplementedError
| writelines
    writelines ( self,  lines )
Standard writelines wrapper.

Table of Contents

This document was automatically generated on Mon Oct 27 01:29:13 2003 by HappyDoc version 2.1