|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Dictionary
java.util.Hashtable
java.util.Properties
ghm.follow.config.EnumeratedProperties
Extension of Properties which allows one to specify
property values which are Lists of Strings.
| Field Summary | |
protected static char |
delimiter
Delimiter between property name & list member index |
| Fields inherited from class java.util.Properties |
defaults |
| Constructor Summary | |
EnumeratedProperties()
|
|
| Method Summary | |
java.util.List |
getEnumeratedProperty(java.lang.String key)
Returns the List value of the property with the supplied key. |
void |
setEnumeratedProperty(java.lang.String key,
java.util.List values)
Convenience method; equivalent to calling setEnumeratedProperty(key, (String[])values.toArray(new String[] {})); |
void |
setEnumeratedProperty(java.lang.String key,
java.lang.String[] values)
Assigns the supplied array of String values to the supplied key. |
| Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store |
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected static char delimiter
| Constructor Detail |
public EnumeratedProperties()
| Method Detail |
public java.util.List getEnumeratedProperty(java.lang.String key)
key - lookup of the enumerated property to be retrieved.
public void setEnumeratedProperty(java.lang.String key,
java.lang.String[] values)
key - property lookupvalues - values to be associated with the property lookup
public void setEnumeratedProperty(java.lang.String key,
java.util.List values)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||