public class RMKey
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
RMKey.ValueForKey
This interface is implemented by objects that want to handle getting key values themselves.
|
static interface |
RMKey.ValueForKeyChain
This interface is implemented by objects that want to handle getting keychain values themselves.
|
Constructor and Description |
---|
RMKey() |
Modifier and Type | Method and Description |
---|---|
static int |
intValueForKey(java.lang.Object anObj,
java.lang.String aKey)
Returns an int value for a key.
|
static void |
setValueForKey(java.lang.Object anObj,
java.lang.String aKey,
java.lang.Object aValue) |
static java.lang.String |
stringValueForKey(java.lang.Object anObj,
java.lang.String aKey)
Returns a string value for a key.
|
static java.lang.Object |
valueForKey(java.lang.Object anObj,
java.lang.String aKey)
Returns value for aKey from anObj, where aKey is expected to be a public method name, ivar, Map key, etc.
|
public static java.lang.Object valueForKey(java.lang.Object anObj, java.lang.String aKey)
public static void setValueForKey(java.lang.Object anObj, java.lang.String aKey, java.lang.Object aValue)
public static java.lang.String stringValueForKey(java.lang.Object anObj, java.lang.String aKey)
public static int intValueForKey(java.lang.Object anObj, java.lang.String aKey)