gecco.server.startup
Class ActsOfGodConf

java.lang.Object
  |
  +--gecco.server.startup.ActsOfGodConf

public abstract class ActsOfGodConf
extends Object

This class loads the settings stored in actsofgod.conf.

Author:
Henrik Bäärnhielm, Karl Hasselström, Henrik Hägerström

Constructor Summary
ActsOfGodConf()
           
 
Method Summary
static void parse(Reader in, ActsOfGod acts)
          Parses the file and updates the Acts of God scheduler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActsOfGodConf

public ActsOfGodConf()
Method Detail

parse

public static void parse(Reader in,
                         ActsOfGod acts)
                  throws IOException,
                         SyntaxErrorException,
                         ParseErrorException
Parses the file and updates the Acts of God scheduler.
Parameters:
in - The configuration is read from this.
acts - The Acts of God scheduler.
Throws:
IOException - If there is an I/O error.
SyntaxErrorException - If there is a syntax error.
ParseErrorException - If there is a parse error.