public class ConfigFile extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static int |
InitalMapSize |
Constructor and Description |
---|
ConfigFile(File InFile) |
ConfigFile(String Filename) |
Modifier and Type | Method and Description |
---|---|
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) |
public ConfigFile(String Filename) throws FileNotFoundException
FileNotFoundException
public ConfigFile(File InFile) throws FileNotFoundException
FileNotFoundException
public boolean check(String Key)
public int getInt(String Key)
public long getLong(String Key)
public short getShort(String Key)
public double getDouble(String Key)
public boolean getBoolean(String Key)
public BigDecimal getBigDecimal(String Key)
public BigInteger getBigInteger(String Key)
public int getIntWithDefault(String S, int Default)
public long getLongWithDefault(String S, long Default)
public short getShortWithDefault(String S, short Default)
public double getDoubleWithDefault(String S, double Default)
public boolean getBooleanWithDefault(String S, boolean Default)
public BigDecimal getBigDecimalWithDefault(String S, BigDecimal Default)
public BigInteger getBigIntegerWithDefault(String S, BigInteger Default)