public class WTConfig
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.Properties |
p
Configuration file
|
| Constructor and Description |
|---|
WTConfig() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Properties |
getProperties(java.lang.String configFile)
Loads the wikiTailor.ini config file
|
int |
getPropertyInt(java.lang.String key)
Gets a value in the config file given a key and returns it as an integer
|
java.lang.String |
getPropertyStr(java.lang.String key)
Gets a value in the config file given a key and returns it as a String
|
public static java.util.Properties getProperties(java.lang.String configFile)
configFile - public int getPropertyInt(java.lang.String key)
key - public java.lang.String getPropertyStr(java.lang.String key)
key -