|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<java.lang.Object,java.lang.Object>
java.util.Properties
ghm.follow.config.EnumeratedProperties
public class 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<java.lang.String> |
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<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, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames |
| 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<java.lang.String> getEnumeratedProperty(java.lang.String key)
key - lookup of the enumerated property to be retrieved.
public void setEnumeratedProperty(java.lang.String key,
java.util.List<java.lang.String> values)
key - property lookupvalues - values to be associated with the property lookup
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||