Overview  Package   Class  Tree  Index 

be.lassi.ui.log
Class LogParser

java.lang.Object
  extended by be.lassi.ui.log.LogParser

public class LogParser
extends java.lang.Object

Parses LCedit+ logfile and produces Command objects from the logfile contents.


Constructor Summary
LogParser(CommandsProcessor out)
          Constructs a new parser.
 
Method Summary
 void parse(byte[] bytes, int length)
          Parses lanbox requests and responses in given buffer and builds the command objects that are passed to the command processor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogParser

public LogParser(CommandsProcessor out)
Constructs a new parser.

Parameters:
out - the output destination that will process the commands that are found
Method Detail

parse

public void parse(byte[] bytes,
                  int length)
Parses lanbox requests and responses in given buffer and builds the command objects that are passed to the command processor.

Parameters:
bytes - the logfile buffer
length - the number of bytes in the buffer with actual data

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2