|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface PropertyClient.ResourceHandler
Provides an interface to load property definitions from a resource, and store property definitions into a resource.
It is used by the property client when loading or saving of property definitions is requested.
To allow the property client handling a user defined property resource, set a new
property resource handler with (tuwien.auto.calimero.mgmt.PropertyClient.ResourceHandler).
It is not necessary for subtypes implementing this interface to synchronize the
methods for concurrent access.
| Method Summary | |
|---|---|
java.util.Collection |
load(java.lang.String resource)
Loads the properties from the resource. |
void |
save(java.lang.String resource,
java.util.Collection properties)
Saves the properties to the resource. |
| Method Detail |
|---|
java.util.Collection load(java.lang.String resource)
throws KNXException
resource - the identifier of the resource used for loading the properties
PropertyClient.Property
KNXException - on error reading from the resource
void save(java.lang.String resource,
java.util.Collection properties)
throws KNXException
resource - the identifier of the resource used for saving the propertiesproperties - the property definitions in a collection holding
PropertyClient.Property-type values
KNXException - on error writing to the resource
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||