org.gnu.gconf
org.gnome.gconf.ConfClient
.public class ConfClient extends org.gnu.glib.GObject
Modifier and Type | Method and Description |
---|---|
void |
addDirectory(java.lang.String dir,
ConfClientPreloadType type)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
addListener(ConfClientListener listener,
java.lang.String nameSpace)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
clearCache()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
boolean |
dirExists(java.lang.String dir)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
ConfValue |
get(java.lang.String key)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
java.util.List |
getAllDirs(java.lang.String dir)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
java.util.List |
getAllEntries(java.lang.String dir)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
boolean |
getBoolean(java.lang.String key)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
ConfValue |
getDefaultFromSchema(java.lang.String key)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
double |
getDouble(java.lang.String key)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
ConfEntry |
getEntry(java.lang.String key,
java.lang.String locale,
boolean useSchemaDefault)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
static ConfClient |
getInstance()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
int |
getInt(java.lang.String key)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
java.lang.Object[] |
getList(java.lang.String key,
ConfValueType listType)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
ConfSchema |
getSchema(java.lang.String key)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
java.lang.String |
getString(java.lang.String key)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
notifyCallback()
Deprecated.
|
void |
preload(java.lang.String directory,
ConfClientPreloadType type)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
removeDirectory(java.lang.String dir)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
removeListener(ConfClientListener listener,
java.lang.String nameSpace)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
set(java.lang.String key,
ConfValue value)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
boolean |
setBoolean(java.lang.String key,
boolean value)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
boolean |
setDouble(java.lang.String key,
double value)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
boolean |
setInt(java.lang.String key,
int value)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
boolean |
setList(java.lang.String key,
ConfValueType listType,
java.util.List value)
Deprecated.
|
boolean |
setSchema(java.lang.String key,
ConfSchema value)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
boolean |
setString(java.lang.String key,
java.lang.String value)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
suggestSync()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
t()
Deprecated.
|
boolean |
unset(java.lang.String key)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getEventListenerClass, getEventType, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setProperty, setStringProperty, thawNotify
public static ConfClient getInstance()
public void addDirectory(java.lang.String dir, ConfClientPreloadType type) throws ConfException
dir
- type
- ConfException
public void removeDirectory(java.lang.String dir) throws ConfException
dir
- ConfException
public void addListener(ConfClientListener listener, java.lang.String nameSpace) throws ConfException
ConfException
ConfClientListener
public void removeListener(ConfClientListener listener, java.lang.String nameSpace)
public void clearCache()
public void preload(java.lang.String directory, ConfClientPreloadType type) throws ConfException
directory
- The directory to loadtype
- How to preload the directory.ConfException
public void set(java.lang.String key, ConfValue value) throws ConfException
key
- value
- ConfException
public ConfValue get(java.lang.String key) throws ConfException
key
- ConfException
public ConfEntry getEntry(java.lang.String key, java.lang.String locale, boolean useSchemaDefault) throws ConfException
key
- locale
- useSchemaDefault
- ConfException
public ConfValue getDefaultFromSchema(java.lang.String key) throws ConfException
key
- ConfException
public boolean unset(java.lang.String key) throws ConfException
key
- ConfException
public java.util.List getAllEntries(java.lang.String dir) throws ConfException
dir
- ConfException
public java.util.List getAllDirs(java.lang.String dir) throws ConfException
dir
- ConfException
public void suggestSync() throws ConfException
ConfException
public boolean dirExists(java.lang.String dir) throws ConfException
dir
- ConfException
public double getDouble(java.lang.String key) throws ConfException
key
- ConfException
public int getInt(java.lang.String key) throws ConfException
key
- ConfException
public java.lang.String getString(java.lang.String key) throws ConfException
key
- ConfException
public boolean getBoolean(java.lang.String key) throws ConfException
key
- ConfException
public ConfSchema getSchema(java.lang.String key) throws ConfException
key
- ConfException
public java.lang.Object[] getList(java.lang.String key, ConfValueType listType) throws ConfException
key
- listType
- ConfException
public boolean setDouble(java.lang.String key, double value) throws ConfException
key
- value
- ConfException
public boolean setInt(java.lang.String key, int value) throws ConfException
key
- value
- ConfException
public boolean setString(java.lang.String key, java.lang.String value) throws ConfException
key
- value
- ConfException
public boolean setBoolean(java.lang.String key, boolean value) throws ConfException
key
- value
- ConfException
public boolean setSchema(java.lang.String key, ConfSchema value) throws ConfException
key
- value
- ConfException
public boolean setList(java.lang.String key, ConfValueType listType, java.util.List value) throws ConfException
ConfException
public void notifyCallback()
public void t()