Index

A B C F G I K N O P R S 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

absolutePath() - Method in interface org.osgi.service.prefs.Preferences
Returns this node's absolute path name.

B

BackingStoreException - Exception Class in org.osgi.service.prefs
Thrown to indicate that a preferences operation could not complete because of a failure in the backing store, or a failure to contact the backing store.
BackingStoreException(String) - Constructor for exception class org.osgi.service.prefs.BackingStoreException
Constructs a BackingStoreException with the specified detail message.
BackingStoreException(String, Throwable) - Constructor for exception class org.osgi.service.prefs.BackingStoreException
Constructs a BackingStoreException with the specified detail message.

C

childrenNames() - Method in interface org.osgi.service.prefs.Preferences
Returns the names of the children of this node.
clear() - Method in interface org.osgi.service.prefs.Preferences
Removes all of the properties (key-value associations) in this node.

F

flush() - Method in interface org.osgi.service.prefs.Preferences
Forces any changes in the contents of this node and its descendants to the persistent store.

G

get(String, String) - Method in interface org.osgi.service.prefs.Preferences
Returns the value associated with the specified key in this node.
getBoolean(String, boolean) - Method in interface org.osgi.service.prefs.Preferences
Returns the boolean value represented by the String object associated with the specified key in this node.
getByteArray(String, byte[]) - Method in interface org.osgi.service.prefs.Preferences
Returns the byte[] value represented by the String object associated with the specified key in this node.
getCause() - Method in exception class org.osgi.service.prefs.BackingStoreException
Returns the cause of this exception or null if no cause was set.
getDouble(String, double) - Method in interface org.osgi.service.prefs.Preferences
Returns the double value represented by the String object associated with the specified key in this node.
getFloat(String, float) - Method in interface org.osgi.service.prefs.Preferences
Returns the float value represented by the String object associated with the specified key in this node.
getInt(String, int) - Method in interface org.osgi.service.prefs.Preferences
Returns the int value represented by the String object associated with the specified key in this node.
getLong(String, long) - Method in interface org.osgi.service.prefs.Preferences
Returns the long value represented by the String object associated with the specified key in this node.
getSystemPreferences() - Method in interface org.osgi.service.prefs.PreferencesService
Returns the root system node for the calling bundle.
getUserPreferences(String) - Method in interface org.osgi.service.prefs.PreferencesService
Returns the root node for the specified user and the calling bundle.
getUsers() - Method in interface org.osgi.service.prefs.PreferencesService
Returns the names of users for which node trees exist.

I

initCause(Throwable) - Method in exception class org.osgi.service.prefs.BackingStoreException
Initializes the cause of this exception to the specified value.

K

keys() - Method in interface org.osgi.service.prefs.Preferences
Returns all of the keys that have an associated value in this node.

N

name() - Method in interface org.osgi.service.prefs.Preferences
Returns this node's name, relative to its parent.
node(String) - Method in interface org.osgi.service.prefs.Preferences
Returns a named Preferences object (node), creating it and any of its ancestors if they do not already exist.
nodeExists(String) - Method in interface org.osgi.service.prefs.Preferences
Returns true if the named node exists.

O

org.osgi.service.prefs - package org.osgi.service.prefs
Preferences Service Package Version 1.1.

P

parent() - Method in interface org.osgi.service.prefs.Preferences
Returns the parent of this node, or null if this is the root.
Preferences - Interface in org.osgi.service.prefs
A node in a hierarchical collection of preference data.
PreferencesService - Interface in org.osgi.service.prefs
The Preferences Service.
put(String, String) - Method in interface org.osgi.service.prefs.Preferences
Associates the specified value with the specified key in this node.
putBoolean(String, boolean) - Method in interface org.osgi.service.prefs.Preferences
Associates a String object representing the specified boolean value with the specified key in this node.
putByteArray(String, byte[]) - Method in interface org.osgi.service.prefs.Preferences
Associates a String object representing the specified byte[] with the specified key in this node.
putDouble(String, double) - Method in interface org.osgi.service.prefs.Preferences
Associates a String object representing the specified double value with the specified key in this node.
putFloat(String, float) - Method in interface org.osgi.service.prefs.Preferences
Associates a String object representing the specified float value with the specified key in this node.
putInt(String, int) - Method in interface org.osgi.service.prefs.Preferences
Associates a String object representing the specified int value with the specified key in this node.
putLong(String, long) - Method in interface org.osgi.service.prefs.Preferences
Associates a String object representing the specified long value with the specified key in this node.

R

remove(String) - Method in interface org.osgi.service.prefs.Preferences
Removes the value associated with the specified key in this node, if any.
removeNode() - Method in interface org.osgi.service.prefs.Preferences
Removes this node and all of its descendants, invalidating any properties contained in the removed nodes.

S

serialVersionUID - Static variable in exception class org.osgi.service.prefs.BackingStoreException
 
sync() - Method in interface org.osgi.service.prefs.Preferences
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.
A B C F G I K N O P R S 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form