Package | Description |
---|---|
org.osgi.service.prefs |
Preferences Service Package Version 1.1.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
Preferences.childrenNames()
Returns the names of the children of this node.
|
void |
Preferences.clear()
Removes all of the properties (key-value associations) in this node.
|
void |
Preferences.flush()
Forces any changes in the contents of this node and its descendants to
the persistent store.
|
java.lang.String[] |
Preferences.keys()
Returns all of the keys that have an associated value in this node.
|
boolean |
Preferences.nodeExists(java.lang.String pathName)
Returns true if the named node exists.
|
void |
Preferences.removeNode()
Removes this node and all of its descendants, invalidating any properties
contained in the removed nodes.
|
void |
Preferences.sync()
Ensures that future reads from this node and its descendants reflect any
changes that were committed to the persistent store (from any VM) prior
to the
sync invocation. |
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0