|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecter.extensions.foundation.ERXSystem
public class ERXSystem
ERXSystem provides support for variable replacement in Properties with
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility |
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding |
---|
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.Null, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor |
Field Summary |
---|
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
---|
NullValue |
Method Summary | |
---|---|
static void |
convertProperties(java.util.Properties originalProperties,
java.util.Properties destinationProperties)
Converts the property names defined in originalProperties with the ERXSystem.getProperty(..) method and puts the resulting values into the destinationProperties. |
static java.util.Properties |
getProperties()
Returns a copy of NSProperties._getProperties() that has been passed variable evaluation. |
static java.lang.String |
getProperty(java.lang.String key)
Looks up the given key in the ERXSystem properties, converts any property variables, and returns the converted value. |
static java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue)
Retrieves the value of the given key from the ERXSystem properties store, return defaultValue if the key does not exist. |
void |
takeValueForKey(java.lang.Object value,
java.lang.String key)
|
void |
takeValueForKeyPath(java.lang.Object value,
java.lang.String key)
|
static void |
updateProperties()
Converts and evaluates the properties from NSProperties._getProperties() and replaces the converted values in-place. |
java.lang.Object |
valueForKey(java.lang.String key)
|
java.lang.Object |
valueForKeyPath(java.lang.String key)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String getProperty(java.lang.String key)
key
- the key to lookup
public static java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
key
- the key to lookupdefaultValue
- the default value to return
public static void convertProperties(java.util.Properties originalProperties, java.util.Properties destinationProperties)
originalProperties
- the properties to convertdestinationProperties
- the properties to copy intopublic static java.util.Properties getProperties()
public static void updateProperties()
public java.lang.Object valueForKey(java.lang.String key)
valueForKey
in interface com.webobjects.foundation.NSKeyValueCoding
public void takeValueForKey(java.lang.Object value, java.lang.String key)
takeValueForKey
in interface com.webobjects.foundation.NSKeyValueCoding
public java.lang.Object valueForKeyPath(java.lang.String key)
valueForKeyPath
in interface com.webobjects.foundation.NSKeyValueCodingAdditions
public void takeValueForKeyPath(java.lang.Object value, java.lang.String key)
takeValueForKeyPath
in interface com.webobjects.foundation.NSKeyValueCodingAdditions
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |