public class FARConfigurationFactory
extends java.lang.Object
Constructor and Description |
---|
FARConfigurationFactory()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.io.File |
getConfigDir()
Finds and returns the configuration directory (for this user).
|
void |
loadConfig(FARConfig config)
Adds stored information to the configuration object.
|
boolean |
saveConfig(FARConfig config)
Saves the configuration object and returns true if the operation was successfull.
|
public void loadConfig(FARConfig config)
config
- to be initialised.public boolean saveConfig(FARConfig config)
config
- to be saved.protected java.io.File getConfigDir()
$USER_HOME/.net/pandoragames/FAR