class documentation

class LineSplitter(object):

View In Hierarchy

Splits byte data chunks into lines of text separated by newline.

Instances provide a file-like interface.

Method __init__ Initializes this class.
Method close Undocumented
Method flush Undocumented
Method write Undocumented
Instance Variable _buffer Undocumented
Instance Variable _line_fn Undocumented
Instance Variable _lines Undocumented
def __init__(self, line_fn, *args):

Initializes this class.

Parameters
line_fn:callableFunction called for each line, first parameter is line
*argsExtra arguments for line_fn
def close(self):

Undocumented

def flush(self):

Undocumented

def write(self, data):

Undocumented

_buffer =

Undocumented

_line_fn =

Undocumented

_lines =

Undocumented