be.lassi.ui.log
Class LogParser
java.lang.Object
be.lassi.ui.log.LogParser
public class LogParser
- extends java.lang.Object
Parses LCedit+ logfile and produces Command
objects
from the logfile contents.
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 |
LogParser
public LogParser(CommandsProcessor out)
- Constructs a new parser.
- Parameters:
out
- the output destination that will process the commands that are found
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 bufferlength
- the number of bytes in the buffer with actual data