Méthode | Description | |
---|---|---|
ConfigReader ( ) : System | ||
getConfigValue ( string values ) : HashSet |
||
getValue ( string key ) : string |
This method allows the program to access the configuration file using a single interface. Checks the configuration file for the key given and returns either the value, if found, or an exception should the key not exist.
|
|
hasValue ( string key ) : bool |
Determines if the config file has the specified key. Compares it to the default config file.
|
|
setValue ( string key, string value ) : bool |
public getConfigValue ( string values ) : HashSet |
||
values | string | |
Résultat | HashSet |
public getValue ( string key ) : string | ||
key | string | Key to check the value of. |
Résultat | string |
public hasValue ( string key ) : bool | ||
key | string | Name of the key to check |
Résultat | bool |
public setValue ( string key, string value ) : bool | ||
key | string | |
value | string | |
Résultat | bool |