Package | Description |
---|---|
org.osgi.service.prefs |
Preferences Service Package Version 1.1.
|
Modifier and Type | Method and Description |
---|---|
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.
|
String[] |
Preferences.keys()
Returns all of the keys that have an associated value in this node.
|
boolean |
Preferences.nodeExists(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 © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0