| Package | Description |
|---|---|
| java.util.prefs |
This package allows applications to store and retrieve user and system preference and configuration data.
|
| Modifier and Type | Method and Description |
|---|---|
String |
AbstractPreferences.childrenNames()
Implements the
children method as per the specification in
Preferences.
|
abstract String |
Preferences.childrenNames()
Returns the names of the children of this preference node, relative to this node.
|
protected abstract String |
AbstractPreferences.childrenNamesSpi()
Returns the names of the children of this preference node.
|
void |
AbstractPreferences.clear()
Implements the
clear method as per the specification in
Preferences.
|
abstract void |
Preferences.clear()
Removes all of the preferences (key-value associations) in this preference node.
|
void |
AbstractPreferences.exportNode(OutputStream
Implements the
exportNode method as per the specification in
Preferences.
|
abstract void |
Preferences.exportNode(OutputStream
Emits on the specified output stream an XML document representing all of the preferences contained in this node (but not its descendants).
|
void |
AbstractPreferences.exportSubtree(OutputStream
Implements the
exportSubtree method as per the specification in
Preferences.
|
abstract void |
Preferences.exportSubtree(OutputStream
Emits an XML document representing all of the preferences contained in this node and all of its descendants.
|
void |
AbstractPreferences.flush()
Implements the
flush method as per the specification in
Preferences.
|
abstract void |
Preferences.flush()
Forces any changes in the contents of this preference node and its descendants to the persistent store.
|
protected abstract void |
AbstractPreferences.flushSpi()
This method is invoked with this node locked.
|
protected AbstractPreferences |
AbstractPreferences.getChild(String
Returns the named child if it exists, or
null if it does not.
|
String |
AbstractPreferences.keys()
Implements the
keys method as per the specification in
Preferences.
|
abstract String |
Preferences.keys()
Returns all of the keys that have an associated value in this preference node.
|
protected abstract String |
AbstractPreferences.keysSpi()
Returns all of the keys that have an associated value in this preference node.
|
boolean |
AbstractPreferences.nodeExists(String
Implements the
nodeExists method as per the specification in
Preferences.
|
abstract boolean |
Preferences.nodeExists(String
Returns true if the named preference node exists in the same tree as this node.
|
void |
AbstractPreferences.removeNode()
Implements the
removeNode() method as per the specification in
Preferences.
|
abstract void |
Preferences.removeNode()
Removes this preference node and all of its descendants, invalidating any preferences contained in the removed nodes.
|
protected abstract void |
AbstractPreferences.removeNodeSpi()
Removes this preference node, invalidating it and any preferences that it contains.
|
void |
AbstractPreferences.sync()
Implements the
sync method as per the specification in
Preferences.
|
abstract void |
Preferences.sync()
Ensures that future reads from this preference node and its descendants reflect any changes that were committed to the persistent store (from any VM) prior to the
sync invocation.
|
protected abstract void |
AbstractPreferences.syncSpi()
This method is invoked with this node locked.
|