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 class
PropertySheet.Property
Holds 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 PropertySheet
addProperty(String key, String value)
Adds a property (a key to value mapping) to the property sheet.List<PropertySheet.Property>
getProperty()
Gets theproperty
property.
-
Constructor Details
-
PropertySheet
public PropertySheet()Constructs an empty object.
-
-
Method Details
-
getProperty
Gets theproperty
property.The
property
property lists all the properties in a configuration file.- Returns:
- the
property
property.
-
addProperty
Adds a property (a key to value mapping) to the property sheet.- Parameters:
key
- the key.value
- the value.- Returns:
-