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
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 |
ActsOfGodConf
public ActsOfGodConf()
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.