Public Member Functions | |
String | getProperty (String key) throws Exception |
Retrieves the string value of a given key. | |
int | getPropertyAsInt (String key) throws Exception |
Retrieves the integer value of a given key. | |
int | getPropertyAsIntWithDefault (String key, int value) throws Exception |
Retrieves the integer of a given key but will return a default integer if that key doesn't exist. | |
String | getPropertyWithDefault (String key, String value) throws Exception |
Retrieves the value of a given key but will return a default if that key doesn't exist. |
String getProperty | ( | String | key | ) | throws Exception |
Retrieves the string value of a given key.
key | The key to get the string value of. |
Exception | If an underlying method throws an exception, it will be wrapped and thrown as a Exception. |
int getPropertyAsInt | ( | String | key | ) | throws Exception |
Retrieves the integer value of a given key.
key | The key to get the integer value of. |
Exception | If an underlying method throws an exception, it will be wrapped and thrown as a Exception. |
int getPropertyAsIntWithDefault | ( | String | key, | |
int | value | |||
) | throws Exception |
Retrieves the integer of a given key but will return a default integer if that key doesn't exist.
key | The key to get the integer value of | |
value | The default integer value to return if the key doesn't exist |
Exception | If an underlying method throws an exception, it will be wrapped and thrown as a Exception. |
String getPropertyWithDefault | ( | String | key, | |
String | value | |||
) | throws Exception |
Retrieves the value of a given key but will return a default if that key doesn't exist.
key | The key to get the value of | |
value | The default value to return if the key doesn't exist |
Exception | If an underlying method throws an exception, it will be wrapped and thrown as a Exception. |