cc.glsn
Class ConfigFile

java.lang.Object
  extended by cc.glsn.ConfigFile
All Implemented Interfaces:
Serializable

public class ConfigFile
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static int InitalMapSize
           
 
Constructor Summary
ConfigFile(File InFile)
           
ConfigFile(String Filename)
           
 
Method Summary
 boolean check(String Key)
           
 BigDecimal getBigDecimal(String Key)
           
 BigDecimal getBigDecimalWithDefault(String S, BigDecimal Default)
           
 BigInteger getBigInteger(String Key)
           
 BigInteger getBigIntegerWithDefault(String S, BigInteger Default)
           
 boolean getBoolean(String Key)
           
 boolean getBooleanWithDefault(String S, boolean Default)
           
 double getDouble(String Key)
           
 double getDoubleWithDefault(String S, double Default)
           
 int getInt(String Key)
           
 int getIntWithDefault(String S, int Default)
           
 ArrayList getList(String Key)
           
 long getLong(String Key)
           
 long getLongWithDefault(String S, long Default)
           
 short getShort(String Key)
           
 short getShortWithDefault(String S, short Default)
           
 String getString(String Key)
           
 String getStringWithDefault(String S, String Default)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

InitalMapSize

public static int InitalMapSize
Constructor Detail

ConfigFile

public ConfigFile(String Filename)
           throws FileNotFoundException
Throws:
FileNotFoundException

ConfigFile

public ConfigFile(File InFile)
           throws FileNotFoundException
Throws:
FileNotFoundException
Method Detail

check

public boolean check(String Key)

getInt

public int getInt(String Key)

getLong

public long getLong(String Key)

getShort

public short getShort(String Key)

getDouble

public double getDouble(String Key)

getBoolean

public boolean getBoolean(String Key)

getString

public String getString(String Key)

getBigDecimal

public BigDecimal getBigDecimal(String Key)

getBigInteger

public BigInteger getBigInteger(String Key)

getList

public ArrayList getList(String Key)

getIntWithDefault

public int getIntWithDefault(String S,
                             int Default)

getLongWithDefault

public long getLongWithDefault(String S,
                               long Default)

getShortWithDefault

public short getShortWithDefault(String S,
                                 short Default)

getDoubleWithDefault

public double getDoubleWithDefault(String S,
                                   double Default)

getBooleanWithDefault

public boolean getBooleanWithDefault(String S,
                                     boolean Default)

getStringWithDefault

public String getStringWithDefault(String S,
                                   String Default)

getBigDecimalWithDefault

public BigDecimal getBigDecimalWithDefault(String S,
                                           BigDecimal Default)

getBigIntegerWithDefault

public BigInteger getBigIntegerWithDefault(String S,
                                           BigInteger Default)