org.gnu.gconf

Class ConfEntry


public class ConfEntry
extends MemStruct

Stores an entry for a GConf "directory", including a key-value pair, the name of the schema applicable to this entry, whether the value is a default value, and whether GConf can write a new value at this time.

Constructor Summary

ConfEntry(Handle handle)
ConfEntry(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.

Method Summary

String
getKey()
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.
String
getSchemaName()
ConfValue
getValue()
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
isDefault()
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
setIsDefault(boolean isDefault)
void
setSchemaName(String name)
void
setValue(ConfValue value)
ConfValue
stealValue()
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.

Constructor Details

ConfEntry

public ConfEntry(Handle handle)

ConfEntry

public ConfEntry(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.

Construct a new ConfEntry object
Parameters:
key -
value -

Method Details

getKey

public String getKey()

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.

Return the key field of the entry.

getSchemaName

public String getSchemaName()

getValue

public ConfValue getValue()

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.

Return the value field of the entry.

isDefault

public boolean isDefault()

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.

Returns if the value in this entry is a default value.

setIsDefault

public void setIsDefault(boolean isDefault)

setSchemaName

public void setSchemaName(String name)

setValue

public void setValue(ConfValue value)

stealValue

public ConfValue stealValue()

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.

Extract the value from this ConfEntry leaving the value set to null.