gecco.server.startup
Class RolesConf
java.lang.Object
|
+--gecco.server.startup.RolesConf
- public class RolesConf
- extends Object
This class loads the settings stored in roles.conf.
- Author:
- Henrik Bäärnhielm, Karl Hasselström, Henrik Hägerström
Constructor Summary |
RolesConf(Reader in)
The constructor parses the file immediately. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RolesConf
public RolesConf(Reader in)
throws IOException,
SyntaxErrorException,
ParseErrorException
- The constructor parses the file immediately.
- Parameters:
in
- The configuration is read from this.- Throws:
IOException
- If there is an I/O error.SyntaxErrorException
- If there is a syntax error.ParseErrorException
- If there is a parse error.
getRoles
public Set getRoles()
- Gets all roles.
- Returns:
- The roles.
getGodseyeRoles
public Set getGodseyeRoles()
- Gets God's Eye roles.
- Returns:
- The God's Eye roles.