anvil.server
Class ConfigReader

java.lang.Object
  |
  +--anvil.server.ConfigReader

public class ConfigReader
extends java.lang.Object

class ConfigReader


Constructor Summary
ConfigReader(ServerControl serverControl, java.io.File source)
           
 
Method Summary
static Configurable create(Zone self, java.lang.String key)
           
protected  Configurable doCreate(Zone self, java.lang.String key)
           
 Server parse()
           
 Configurable parse(Configurable self)
           
 java.lang.String readKey()
           
 java.lang.String readValue()
           
static boolean toBoolean(java.lang.String value)
           
static int toInt(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigReader

public ConfigReader(ServerControl serverControl,
                    java.io.File source)
             throws java.io.IOException
Method Detail

doCreate

protected Configurable doCreate(Zone self,
                                java.lang.String key)

create

public static Configurable create(Zone self,
                                  java.lang.String key)

parse

public Configurable parse(Configurable self)

readKey

public java.lang.String readKey()

readValue

public java.lang.String readValue()

toBoolean

public static final boolean toBoolean(java.lang.String value)

toInt

public static final int toInt(java.lang.String value)

parse

public Server parse()