public abstract class PropertiesBean
extends java.lang.Object
Properties are saved based on a "root", which is set up during the
 instantiation of the object. The properties will be set as
 root.property_name.
Only native types (boolean, char, double, float, int, long, short), Strings, and arrays of those types are supported. Also, nested beans are not supported presently.
| Modifier | Constructor and Description | 
|---|---|
| protected  | PropertiesBean(java.lang.String root)Creates a new instance with the given root and the default array
 separator char (':'). | 
| protected  | PropertiesBean(java.lang.String root,
              char arraysep)Creates a new instance with the given root and the given array
 separator character. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clean(java.util.Properties p)Cleans the entries related to this object from the given object. | 
| void | load(java.util.Properties p)Loads the bean's properties from the given object. | 
| void | save(java.util.Properties p)Saves the bean's properties into the given object. | 
protected PropertiesBean(java.lang.String root)
root - A non-null string that will be the "root" of the
             serialized properties.protected PropertiesBean(java.lang.String root,
                         char arraysep)
root - A non-null string that will be the "root" of the
             serialized properties.arraysep - A character that will be used to define the
                 separator of elements of an array property.public void load(java.util.Properties p)
public void save(java.util.Properties p)
public void clean(java.util.Properties p)