<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>ConfClient (Java-Gnome 2.12.6 API Reference)</title> <meta name="keywords" content="org.gnu.gconf.ConfClient,ConfClient class" /> <meta name="generator" content="SinjDoc 0.5" /> <link href="../../../stylesheet.css" rel="stylesheet" type="text/css" /> <link rel="Index" href="../../../index-all.html" /> <link rel="Start" href="../../../overview-summary.html" /> <link rel="Up" href="package-summary.html" /> <link rel="Help" href="../../../help-doc.html" /> </head> <body class="classPage bigframe"> <div class="navbar"> <p class="nav navtop"> <span class="over"><a href="../../../overview-summary.html">Overview</a></span> <span class="package"><a href="package-summary.html">Package</a></span> <span class="class selected">Class</span> <span class="use"><a href="class-use/ConfClient.html">Use</a></span> <span class="tree"><a href="package-tree.html">Tree</a></span> <span class="deprecated"><a href="../../../deprecated-list.html">Deprecated</a></span> <span class="index"><a href="../../../index-all.html">Index</a></span> <span class="help"><a href="../../../help-doc.html">Help</a></span> </p> <p class="nav navmid"> <span class="prevnext"> <span class="prev">Prev Class</span> <span class="next">Next Class</span> </span> <span class="framesel"> <span class="frames"><a href="../../../index.html" target="_top">Frames</a></span> <span class="noframes"><a href="ConfClient.html" target="_top">NoFrames</a></span> </span> <span class="allclasses"><a href="../../../allclasses-noframe.html">All Classes</a></span> </p> <p class="nav navbot"> <span class="summary">Summary: <span class="nested">Nested</span> <span class="field">Field</span> <span class="constr">Constr</span> <span class="method"><a href="#method_summary">Method</a></span> </span> <span class="detail">Detail: <span class="field">Field</span> <span class="constr">Constr</span> <span class="method"><a href="#method_detail">Method</a></span> </span> </p> <div class="navtitle"> Java-Gnome 2.12.6 API Reference </div> <p class="clear"><!--empty--></p> </div> <p class="packageName">org.gnu.gconf</p> <h1> Class ConfClient</h1> <!-- <p class="enclosing"> Enclosing class/interface: @OUTER@ </p> --> <!-- XXX class hierarchy diagram goes here --> <!-- <p class="directSubclasses"> Direct known subclasses: @ALL_SUBCLASSES@ </p> --> <p class="declaration">public class <span class="className">ConfClient</span> <span class="extends">extends GObject</span> </p> <div class="description"> <p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class probably may or may not have an equivalent in java-gnome 4.0; have a look for <code>org.gnome.gconf.ConfClient</code>.</span> </p> ConfClient provides a client-side cache for a specified list of directories your're interested in. You can preload entire directories into cache to enhance performance. It also provides events when a value changes. </div> <table class="method_summary summary"> <tr><th colspan="2"><a name="method_summary" id="method_summary">Method Summary</a></th></tr> <tr><td> void</td><td><span class="memberName"><a href="#addDirectory(<unknown>.String,org.gnu.gconf.ConfClientPreloadType)" class="methodRef">addDirectory</a>(String dir, <a href="ConfClientPreloadType.html" class="classRef">ConfClientPreloadType</a> type)</span><div class="memberDescription"> Add a directory to the list of directories the ConfClient will watch. </div></td></tr> <tr><td> void</td><td><span class="memberName"><a href="#addListener(org.gnu.gconf.ConfClientListener,<unknown>.String)" class="methodRef">addListener</a>(<a href="ConfClientListener.html" class="interfaceRef">ConfClientListener</a> listener, String nameSpace)</span><div class="memberDescription"> Register an object to handle notify events. </div></td></tr> <tr><td> void</td><td><span class="memberName"><a href="#clearCache()" class="methodRef">clearCache</a>()</span><div class="memberDescription"> If you know you're done reading values for a while you can blow away the cache. </div></td></tr> <tr><td> boolean</td><td><span class="memberName"><a href="#dirExists(<unknown>.String)" class="methodRef">dirExists</a>(String dir)</span><div class="memberDescription"> Check to see if a directory exists in the GConf database. </div></td></tr> <tr><td> <a href="ConfValue.html" class="classRef">ConfValue</a></td><td><span class="memberName"><a href="#get(<unknown>.String)" class="methodRef">get</a>(String key)</span><div class="memberDescription"> Get the value of a configuration key. </div></td></tr> <tr><td> List</td><td><span class="memberName"><a href="#getAllDirs(<unknown>.String)" class="methodRef">getAllDirs</a>(String dir)</span><div class="memberDescription"> Get a list of the subdirectories in the provided directory. </div></td></tr> <tr><td> List</td><td><span class="memberName"><a href="#getAllEntries(<unknown>.String)" class="methodRef">getAllEntries</a>(String dir)</span><div class="memberDescription"> Get a list of all ConfEntries in the provided direcotry. </div></td></tr> <tr><td> boolean</td><td><span class="memberName"><a href="#getBoolean(<unknown>.String)" class="methodRef">getBoolean</a>(String key)</span><div class="memberDescription"> Request the boolean value stored at the provided key. </div></td></tr> <tr><td> <a href="ConfValue.html" class="classRef">ConfValue</a></td><td><span class="memberName"><a href="#getDefaultFromSchema(<unknown>.String)" class="methodRef">getDefaultFromSchema</a>(String key)</span><div class="memberDescription"> Return the default value stored in the key's schema, if the key has a schema associated and the schema exists and the schema contains a default value. </div></td></tr> <tr><td> double</td><td><span class="memberName"><a href="#getDouble(<unknown>.String)" class="methodRef">getDouble</a>(String key)</span><div class="memberDescription"> Request the double value stored at the provided key. </div></td></tr> <tr><td> <a href="ConfEntry.html" class="classRef">ConfEntry</a></td><td><span class="memberName"><a href="#getEntry(<unknown>.String,<unknown>.String,boolean)" class="methodRef">getEntry</a>(String key, String locale, boolean useSchemaDefault)</span><div class="memberDescription"> Obtain the full ConfEntry for a value. </div></td></tr> <tr><td>static <a href="ConfClient.html" class="classRef">ConfClient</a></td><td><span class="memberName"><a href="#getInstance()" class="methodRef">getInstance</a>()</span><div class="memberDescription"> Method to get the default ConfClient </div></td></tr> <tr><td> int</td><td><span class="memberName"><a href="#getInt(<unknown>.String)" class="methodRef">getInt</a>(String key)</span><div class="memberDescription"> Request the int value stored at the provided key. </div></td></tr> <tr><td> Object[]</td><td><span class="memberName"><a href="#getList(<unknown>.String,org.gnu.gconf.ConfValueType)" class="methodRef">getList</a>(String key, <a href="ConfValueType.html" class="classRef">ConfValueType</a> listType)</span><div class="memberDescription"> Request the object array stored at the key. </div></td></tr> <tr><td> <a href="ConfSchema.html" class="classRef">ConfSchema</a></td><td><span class="memberName"><a href="#getSchema(<unknown>.String)" class="methodRef">getSchema</a>(String key)</span><div class="memberDescription"> Request the ConfSchema value stored at the provided key. </div></td></tr> <tr><td> String</td><td><span class="memberName"><a href="#getString(<unknown>.String)" class="methodRef">getString</a>(String key)</span><div class="memberDescription"> Request the String value stored at the provided key. </div></td></tr> <tr><td> void</td><td><span class="memberName"><a href="#notifyCallback()" class="methodRef">notifyCallback</a>()</span><div class="memberDescription"></div></td></tr> <tr><td> void</td><td><span class="memberName"><a href="#preload(<unknown>.String,org.gnu.gconf.ConfClientPreloadType)" class="methodRef">preload</a>(String directory, <a href="ConfClientPreloadType.html" class="classRef">ConfClientPreloadType</a> type)</span><div class="memberDescription"> Preload a directory. </div></td></tr> <tr><td> void</td><td><span class="memberName"><a href="#removeDirectory(<unknown>.String)" class="methodRef">removeDirectory</a>(String dir)</span><div class="memberDescription"> Remove a directory from the list created with addDirectory. </div></td></tr> <tr><td> void</td><td><span class="memberName"><a href="#removeListener(org.gnu.gconf.ConfClientListener,<unknown>.String)" class="methodRef">removeListener</a>(<a href="ConfClientListener.html" class="interfaceRef">ConfClientListener</a> listener, String nameSpace)</span><div class="memberDescription"> Removes a listener. </div></td></tr> <tr><td> void</td><td><span class="memberName"><a href="#set(<unknown>.String,org.gnu.gconf.ConfValue)" class="methodRef">set</a>(String key, <a href="ConfValue.html" class="classRef">ConfValue</a> value)</span><div class="memberDescription"> Set the value of a configuration key. </div></td></tr> <tr><td> boolean</td><td><span class="memberName"><a href="#setBoolean(<unknown>.String,boolean)" class="methodRef">setBoolean</a>(String key, boolean value)</span><div class="memberDescription"> Change the value stored at the provided key to the provided boolean value. </div></td></tr> <tr><td> boolean</td><td><span class="memberName"><a href="#setDouble(<unknown>.String,double)" class="methodRef">setDouble</a>(String key, double value)</span><div class="memberDescription"> Change the value stored at the provided key to the provided double value. </div></td></tr> <tr><td> boolean</td><td><span class="memberName"><a href="#setInt(<unknown>.String,int)" class="methodRef">setInt</a>(String key, int value)</span><div class="memberDescription"> Change the value stored at the provided key to the provided int value. </div></td></tr> <tr><td> boolean</td><td><span class="memberName"><a href="#setList(<unknown>.String,org.gnu.gconf.ConfValueType,java.util.List)" class="methodRef">setList</a>(String key, <a href="ConfValueType.html" class="classRef">ConfValueType</a> listType, List value)</span><div class="memberDescription"></div></td></tr> <tr><td> boolean</td><td><span class="memberName"><a href="#setSchema(<unknown>.String,org.gnu.gconf.ConfSchema)" class="methodRef">setSchema</a>(String key, <a href="ConfSchema.html" class="classRef">ConfSchema</a> value)</span><div class="memberDescription"> Change the value stored at the provided key to the provided ConfSchema value. </div></td></tr> <tr><td> boolean</td><td><span class="memberName"><a href="#setString(<unknown>.String,<unknown>.String)" class="methodRef">setString</a>(String key, String value)</span><div class="memberDescription"> Change the value stored at the provided key to the provided String value. </div></td></tr> <tr><td> void</td><td><span class="memberName"><a href="#suggestSync()" class="methodRef">suggestSync</a>()</span><div class="memberDescription"> Suggest to gconfd that you've just finished a block of changes and it would be an optimal time to sync to permanent storage. </div></td></tr> <tr><td> void</td><td><span class="memberName"><a href="#t()" class="methodRef">t</a>()</span><div class="memberDescription"></div></td></tr> <tr><td> boolean</td><td><span class="memberName"><a href="#unset(<unknown>.String)" class="methodRef">unset</a>(String key)</span><div class="memberDescription"> Unsets the value of the provided key. </div></td></tr> </table> <!-- <p class="inherited"> <span class="header">Methods inherited from class java.util.<a href="AbstractCollection.html">AbstractCollection</a></span> <a href="#addAll">addAll</a> <a href="#contains">contains</a> </p> <p class="inherited"> <span class="header">Methods inherited from class java.lang.<a href="Object.html">Object</a></span> <a href="#addAll">clone</a> <a href="#contains">finalize</a> </p> <p class="inherited"> <span class="header">Methods inherited from interface java.util.<a href="List.html">List</a></span> <a href="#addAll">addAll</a> <a href="#contains">contains</a> </p> --> <h2><a name="method_detail" id="method_detail">Method Detail</a></h2> <h3><a name="addDirectory(<unknown>.String,org.gnu.gconf.ConfClientPreloadType)" id="addDirectory(<unknown>.String,org.gnu.gconf.ConfClientPreloadType)">addDirectory</a></h3> <div class="memberName">public void addDirectory(String dir, <a href="ConfClientPreloadType.html" class="classRef">ConfClientPreloadType</a> type)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Add a directory to the list of directories the ConfClient will watch. Any changes to keys below this directory will cause the "value_changed" event to be fired. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">dir</span> <span class="tagContents">type</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="addListener(org.gnu.gconf.ConfClientListener,<unknown>.String)" id="addListener(org.gnu.gconf.ConfClientListener,<unknown>.String)">addListener</a></h3> <div class="memberName">public void addListener(<a href="ConfClientListener.html" class="interfaceRef">ConfClientListener</a> listener, String nameSpace)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Register an object to handle notify events. <p class="tag tag_see"><span class="tagName">See Also:</span> <span class="tagContents"><a href="ConfClientListener.html" class="interfaceRef">ConfClientListener</a></span> </p> </div> <h3><a name="clearCache()" id="clearCache()">clearCache</a></h3> <div class="memberName">public void clearCache()</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> If you know you're done reading values for a while you can blow away the cache. Note that this nullifies the effect of any preloading you may have done. However it frees some memory.</div> <h3><a name="dirExists(<unknown>.String)" id="dirExists(<unknown>.String)">dirExists</a></h3> <div class="memberName">public boolean dirExists(String dir)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Check to see if a directory exists in the GConf database. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">dir</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="get(<unknown>.String)" id="get(<unknown>.String)">get</a></h3> <div class="memberName">public <a href="ConfValue.html" class="classRef">ConfValue</a> get(String key)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Get the value of a configuration key. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">key</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="getAllDirs(<unknown>.String)" id="getAllDirs(<unknown>.String)">getAllDirs</a></h3> <div class="memberName">public List getAllDirs(String dir)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Get a list of the subdirectories in the provided directory. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">dir</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="getAllEntries(<unknown>.String)" id="getAllEntries(<unknown>.String)">getAllEntries</a></h3> <div class="memberName">public List getAllEntries(String dir)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Get a list of all ConfEntries in the provided direcotry. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">dir</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="getBoolean(<unknown>.String)" id="getBoolean(<unknown>.String)">getBoolean</a></h3> <div class="memberName">public boolean getBoolean(String key)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Request the boolean value stored at the provided key. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">key</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="getDefaultFromSchema(<unknown>.String)" id="getDefaultFromSchema(<unknown>.String)">getDefaultFromSchema</a></h3> <div class="memberName">public <a href="ConfValue.html" class="classRef">ConfValue</a> getDefaultFromSchema(String key)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Return the default value stored in the key's schema, if the key has a schema associated and the schema exists and the schema contains a default value. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">key</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="getDouble(<unknown>.String)" id="getDouble(<unknown>.String)">getDouble</a></h3> <div class="memberName">public double getDouble(String key)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Request the double value stored at the provided key. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">key</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="getEntry(<unknown>.String,<unknown>.String,boolean)" id="getEntry(<unknown>.String,<unknown>.String,boolean)">getEntry</a></h3> <div class="memberName">public <a href="ConfEntry.html" class="classRef">ConfEntry</a> getEntry(String key, String locale, boolean useSchemaDefault)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Obtain the full ConfEntry for a value. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">key</span> <span class="tagContents">locale</span> <span class="tagContents">useSchemaDefault</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="getInstance()" id="getInstance()">getInstance</a></h3> <div class="memberName">public static <a href="ConfClient.html" class="classRef">ConfClient</a> getInstance()</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Method to get the default ConfClient <p class="tag tag_return"><span class="tagName">Returns:</span> <span class="tagContents">The default ConfClient.</span> </p> </div> <h3><a name="getInt(<unknown>.String)" id="getInt(<unknown>.String)">getInt</a></h3> <div class="memberName">public int getInt(String key)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Request the int value stored at the provided key. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">key</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="getList(<unknown>.String,org.gnu.gconf.ConfValueType)" id="getList(<unknown>.String,org.gnu.gconf.ConfValueType)">getList</a></h3> <div class="memberName">public Object[] getList(String key, <a href="ConfValueType.html" class="classRef">ConfValueType</a> listType)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Request the object array stored at the key. The return object array is of the type provided. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">key</span> <span class="tagContents">listType</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="getSchema(<unknown>.String)" id="getSchema(<unknown>.String)">getSchema</a></h3> <div class="memberName">public <a href="ConfSchema.html" class="classRef">ConfSchema</a> getSchema(String key)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Request the ConfSchema value stored at the provided key. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">key</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="getString(<unknown>.String)" id="getString(<unknown>.String)">getString</a></h3> <div class="memberName">public String getString(String key)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Request the String value stored at the provided key. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">key</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="notifyCallback()" id="notifyCallback()">notifyCallback</a></h3> <div class="memberName">public void notifyCallback()</div> <div class="memberDescription"></div> <h3><a name="preload(<unknown>.String,org.gnu.gconf.ConfClientPreloadType)" id="preload(<unknown>.String,org.gnu.gconf.ConfClientPreloadType)">preload</a></h3> <div class="memberName">public void preload(String directory, <a href="ConfClientPreloadType.html" class="classRef">ConfClientPreloadType</a> type)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Preload a directory. The directory must have been added already. This is only useful as an optimization if you clear the cache, then later want to do a lot a reads again. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">directory The directory to load</span> <span class="tagContents">type How to preload the directory.</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="removeDirectory(<unknown>.String)" id="removeDirectory(<unknown>.String)">removeDirectory</a></h3> <div class="memberName">public void removeDirectory(String dir)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Remove a directory from the list created with addDirectory. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">dir</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="removeListener(org.gnu.gconf.ConfClientListener,<unknown>.String)" id="removeListener(org.gnu.gconf.ConfClientListener,<unknown>.String)">removeListener</a></h3> <div class="memberName">public void removeListener(<a href="ConfClientListener.html" class="interfaceRef">ConfClientListener</a> listener, String nameSpace)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Removes a listener. <p class="tag tag_see"><span class="tagName">See Also:</span> <span class="tagContents"><a href="ConfClient.html" class="classRef">ConfClient</a></span> </p> </div> <h3><a name="set(<unknown>.String,org.gnu.gconf.ConfValue)" id="set(<unknown>.String,org.gnu.gconf.ConfValue)">set</a></h3> <div class="memberName">public void set(String key, <a href="ConfValue.html" class="classRef">ConfValue</a> value)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Set the value of a configuration key. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">key</span> <span class="tagContents">value</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="setBoolean(<unknown>.String,boolean)" id="setBoolean(<unknown>.String,boolean)">setBoolean</a></h3> <div class="memberName">public boolean setBoolean(String key, boolean value)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Change the value stored at the provided key to the provided boolean value. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">key</span> <span class="tagContents">value</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="setDouble(<unknown>.String,double)" id="setDouble(<unknown>.String,double)">setDouble</a></h3> <div class="memberName">public boolean setDouble(String key, double value)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Change the value stored at the provided key to the provided double value. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">key</span> <span class="tagContents">value</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="setInt(<unknown>.String,int)" id="setInt(<unknown>.String,int)">setInt</a></h3> <div class="memberName">public boolean setInt(String key, int value)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Change the value stored at the provided key to the provided int value. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">key</span> <span class="tagContents">value</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="setList(<unknown>.String,org.gnu.gconf.ConfValueType,java.util.List)" id="setList(<unknown>.String,org.gnu.gconf.ConfValueType,java.util.List)">setList</a></h3> <div class="memberName">public boolean setList(String key, <a href="ConfValueType.html" class="classRef">ConfValueType</a> listType, List value)</div> <div class="memberDescription"></div> <h3><a name="setSchema(<unknown>.String,org.gnu.gconf.ConfSchema)" id="setSchema(<unknown>.String,org.gnu.gconf.ConfSchema)">setSchema</a></h3> <div class="memberName">public boolean setSchema(String key, <a href="ConfSchema.html" class="classRef">ConfSchema</a> value)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Change the value stored at the provided key to the provided ConfSchema value. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">key</span> <span class="tagContents">value</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="setString(<unknown>.String,<unknown>.String)" id="setString(<unknown>.String,<unknown>.String)">setString</a></h3> <div class="memberName">public boolean setString(String key, String value)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Change the value stored at the provided key to the provided String value. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">key</span> <span class="tagContents">value</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="suggestSync()" id="suggestSync()">suggestSync</a></h3> <div class="memberName">public void suggestSync()</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Suggest to gconfd that you've just finished a block of changes and it would be an optimal time to sync to permanent storage. <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <h3><a name="t()" id="t()">t</a></h3> <div class="memberName">public void t()</div> <div class="memberDescription"></div> <h3><a name="unset(<unknown>.String)" id="unset(<unknown>.String)">unset</a></h3> <div class="memberName">public boolean unset(String key)</div> <div class="memberDescription"><p class="tag tag_deprecated"><span class="tagName">Deprecated:</span> <span class="tagContents">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.</span> </p> Unsets the value of the provided key. <p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">key</span> </p> <p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">ConfException</span> </p> </div> <div class="navbar"> <p class="nav navtop"> <span class="over"><a href="../../../overview-summary.html">Overview</a></span> <span class="package"><a href="package-summary.html">Package</a></span> <span class="class selected">Class</span> <span class="use"><a href="class-use/ConfClient.html">Use</a></span> <span class="tree"><a href="package-tree.html">Tree</a></span> <span class="deprecated"><a href="../../../deprecated-list.html">Deprecated</a></span> <span class="index"><a href="../../../index-all.html">Index</a></span> <span class="help"><a href="../../../help-doc.html">Help</a></span> </p> <p class="nav navmid"> <span class="prevnext"> <span class="prev">Prev Class</span> <span class="next">Next Class</span> </span> <span class="framesel"> <span class="frames"><a href="../../../index.html" target="_top">Frames</a></span> <span class="noframes"><a href="ConfClient.html" target="_top">NoFrames</a></span> </span> <span class="allclasses"><a href="../../../allclasses-noframe.html">All Classes</a></span> </p> <p class="nav navbot"> <span class="summary">Summary: <span class="nested">Nested</span> <span class="field">Field</span> <span class="constr">Constr</span> <span class="method"><a href="#method_summary">Method</a></span> </span> <span class="detail">Detail: <span class="field">Field</span> <span class="constr">Constr</span> <span class="method"><a href="#method_detail">Method</a></span> </span> </p> <div class="navtitle"> </div> <p class="clear"><!--empty--></p> </div> <div class="bottom"></div> </body> </html>