
Public Member Functions | |
| void | takeValueForKey (Object value, String key) |
| void | takeValueForKeyPath (Object value, String key) |
| Object | valueForKey (String key) |
| Object | valueForKeyPath (String key) |
Static Public Member Functions | |
| static void | convertProperties (Properties originalProperties, Properties destinationProperties) |
| static Properties | getProperties () |
| static String | getProperty (String key, String defaultValue) |
| static String | getProperty (String key) |
| static void | updateProperties () |
Private Member Functions | |
| ERXSystem () | |
Static Private Attributes | |
| static ERXSystem | sharedInstance = new ERXSystem() |
@key@ references in values. Additionally, it provides an NSKVC implementation on top of System properties.
| static void convertProperties | ( | Properties | originalProperties, | |
| Properties | destinationProperties | |||
| ) | [static] |
Converts the property names defined in originalProperties with the ERXSystem.getProperty(..) method and puts the resulting values into the destinationProperties.
| originalProperties | the properties to convert | |
| destinationProperties | the properties to copy into |
| static Properties getProperties | ( | ) | [static] |
Returns a copy of NSProperties._getProperties() that has been passed variable evaluation.
Retrieves the value of the given key from the ERXSystem properties store, return defaultValue if the key does not exist.
| key | the key to lookup | |
| defaultValue | the default value to return |
Looks up the given key in the ERXSystem properties, converts any property variables, and returns the converted value.
| key | the key to lookup |
| void takeValueForKey | ( | Object | value, | |
| String | key | |||
| ) |
| void takeValueForKeyPath | ( | Object | value, | |
| String | key | |||
| ) |
| static void updateProperties | ( | ) | [static] |
Converts and evaluates the properties from NSProperties._getProperties() and replaces the converted values in-place.
| Object valueForKey | ( | String | key | ) |
| Object valueForKeyPath | ( | String | key | ) |
ERXSystem sharedInstance = new ERXSystem() [static, private] |
The singleton instance to share.
1.5.8