public class ConfigFile extends Object
Constructor and Description |
---|
ConfigFile() |
Modifier and Type | Method and Description |
---|---|
String |
getProperty(String key) |
String |
getProperty(String key,
String defaultValue) |
boolean |
init(String configFile)
Initializes the
ConfigFile object. |
void |
setProperty(String key,
String value) |
public boolean init(String configFile)
ConfigFile
object.configFile
- The config file to use.false
if the given config file cannot be
located or accessed, otherwise true
.