|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--java.util.Properties
|
+--org.fopps.model.ConfigurationSet
ConfigurationSet acts as a container for configuration values. A configuration set is a set of key/value pairs which reflects the current configuration settings.
Since it derives from properties, you can easily store your configuration settings in a file and use it in your build process (e. g. as additional property file in ant).
| Field Summary | |
static java.lang.String |
NAME_PROPERTY
|
| Fields inherited from class java.util.Properties |
defaults |
| Constructor Summary | |
ConfigurationSet(java.lang.String name)
Creates a new configuration set. |
|
| Method Summary | |
java.lang.String |
getName()
Returns the name of the configuration set |
void |
setName(java.lang.String name)
Sets the name of the configuration set |
java.lang.String |
toString()
Returns a string representation of this map. |
| 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, values |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String NAME_PROPERTY
| Constructor Detail |
public ConfigurationSet(java.lang.String name)
name - Name of the set| Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name - New namepublic java.lang.String toString()
This implementation creates an empty string buffer, appends a left brace, and iterates over the map's entrySet view, appending the string representation of each map.entry in turn. After appending each entry except the last, the string ", " is appended. Finally a right brace is appended. A string is obtained from the stringbuffer, and returned.
toString in class java.util.Hashtable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||