A B C F G I K N O P R S
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- absolutePath() - Method in interface org.osgi.service.prefs.Preferences
-
Returns this node's absolute path name.
B
- BackingStoreException - Exception 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 org.osgi.service.prefs.BackingStoreException
-
Constructs a
BackingStoreException
with the specified detail message. - BackingStoreException(String, Throwable) - Constructor for exception 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 theString
object associated with the specifiedkey
in this node. - getByteArray(String, byte[]) - Method in interface org.osgi.service.prefs.Preferences
-
Returns the
byte[]
value represented by theString
object associated with the specifiedkey
in this node. - getCause() - Method in exception 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 theString
object associated with the specifiedkey
in this node. - getFloat(String, float) - Method in interface org.osgi.service.prefs.Preferences
-
Returns the float
value
represented by theString
object associated with the specifiedkey
in this node. - getInt(String, int) - Method in interface org.osgi.service.prefs.Preferences
-
Returns the
int
value represented by theString
object associated with the specifiedkey
in this node. - getLong(String, long) - Method in interface org.osgi.service.prefs.Preferences
-
Returns the
long
value represented by theString
object associated with the specifiedkey
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 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 specifiedboolean
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 specifiedbyte[]
with the specifiedkey
in this node. - putDouble(String, double) - Method in interface org.osgi.service.prefs.Preferences
-
Associates a
String
object representing the specifieddouble
value with the specifiedkey
in this node. - putFloat(String, float) - Method in interface org.osgi.service.prefs.Preferences
-
Associates a
String
object representing the specifiedfloat
value with the specifiedkey
in this node. - putInt(String, int) - Method in interface org.osgi.service.prefs.Preferences
-
Associates a
String
object representing the specifiedint
value with the specifiedkey
in this node. - putLong(String, long) - Method in interface org.osgi.service.prefs.Preferences
-
Associates a
String
object representing the specifiedlong
value with the specifiedkey
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 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.
All Classes All Packages