|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.fuckingbrit.q3astats.CorePreParser
The CorePreParser is a very simple implementation of the PreParser interface. The basic point of this Class is to rip out as many lines of the log file as we can prior to parsing it against the hit/kill messages. A typical qconsole.log file will contain many log lines for loading in the pak files etc. We want to strip them. This is intended as a first draft of a much more efficient parser.
Constructor Summary | |
CorePreParser()
|
Method Summary | |
void |
strip(java.io.BufferedReader reader,
java.io.ByteArrayOutputStream output)
The strip method is the core function of the pre-parser. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CorePreParser()
Method Detail |
public void strip(java.io.BufferedReader reader, java.io.ByteArrayOutputStream output) throws QuakeParseException
strip
in interface PreParser
reader
- The raw un-parsed log file.output
- The parsed version of the log file will be written out here.
QuakeParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |