|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.fuckingbrit.q3astats.StatParser
The StatParser is the core engine of the q3astats package. It provides the functionality for the system. It brings together the concept of a LogOwner, Game, optionaly a PreParser and ties them together to parse a qconsole.log file.
Constructor Summary | |
StatParser(LogOwner PrimaryPlayer,
Game definition,
java.io.BufferedReader logFile)
Basic constructor. |
|
StatParser(LogOwner PrimaryPlayer,
Game definition,
java.io.BufferedReader logFile,
PreParser preParser)
Prefered constructor, this one allows you to provide a pre-parser to remove the damned fluff from the log file. |
Method Summary | |
void |
parse()
This method does the work. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StatParser(LogOwner PrimaryPlayer, Game definition, java.io.BufferedReader logFile)
PrimaryPlayer
- the Primary Playerdefinition
- a definition of a gamelogFile
- a reader for the log file ready to go.public StatParser(LogOwner PrimaryPlayer, Game definition, java.io.BufferedReader logFile, PreParser preParser)
PrimaryPlayer
- primary playerdefinition
- a game definition, this is referenced, so don't gologFile
- a reader for the log filepreParser
- the pre-parser to strip the fluffMethod Detail |
public void parse() throws QuakeParseException
When this is done, simply save your LogOwner.
QuakeParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |