de.hagenah.diplomacy.game
Class JudgeParser

java.lang.Object
  extended by de.hagenah.diplomacy.game.JudgeParser

public class JudgeParser
extends java.lang.Object

Parses the judge output (results, lists, summaries, histories, press messages) and Keith history files. The parsing is case insensitive as far as possible.


Constructor Summary
JudgeParser(GameHandler handler)
           
 
Method Summary
 void parse(java.io.Reader input, java.util.SortedSet judges)
          Parses a file from the judge
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JudgeParser

public JudgeParser(GameHandler handler)
Method Detail

parse

public void parse(java.io.Reader input,
                  java.util.SortedSet judges)
           throws java.lang.Exception
Parses a file from the judge

Parameters:
input - The input data
judges - The set of judges
Throws:
java.lang.Exception