Package org.spiderwiz.admin.data
Class PropertySheet
java.lang.Object
org.spiderwiz.admin.data.PropertySheet
@WizSerializable public class PropertySheet extends Object
Holds a copy of the content of an application's configuration file.
Used by SpiderAdmin to display and modify the configuration through the "Update Configuration" button.
The class is used internally by the SpiderAdmin agent and is rarely accessed directly.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPropertySheet.PropertyHolds the key to value mapping of a single configuration property. -
Constructor Summary
Constructors Constructor Description PropertySheet()Constructs an empty object. -
Method Summary
Modifier and Type Method Description PropertySheetaddProperty(String key, String value)Adds a property (a key to value mapping) to the property sheet.List<PropertySheet.Property>getProperty()Gets thepropertyproperty.
-
Constructor Details
-
PropertySheet
public PropertySheet()Constructs an empty object.
-
-
Method Details
-
getProperty
Gets thepropertyproperty.The
propertyproperty lists all the properties in a configuration file.- Returns:
- the
propertyproperty.
-
addProperty
Adds a property (a key to value mapping) to the property sheet.- Parameters:
key- the key.value- the value.- Returns:
-