org.gnu.glib
public class Quark extends Object
Deprecated: 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 may have an equivalent in java-gnome 4.0,
see org.gnome.glib.Quark
.
You should be aware that there is a considerably different API
in the new library: the architecture is completely different
and most notably internals are no longer exposed to public view.
Constructor Summary | |
---|---|
Quark(String string)
Create a Quark object.
| |
Quark(int handle)
This is the method that allows one to construct a Quark once a native
peer has been provided.
|
Method Summary | |
---|---|
static Quark | findQuark(String string)
Find a Quark that is associated with the given string. |
int | getHandle() |
String | getString()
Retrieve the string value associated with this Quark.
|
protected static int | g_quark_from_string(String str) |
protected static String | g_quark_to_string(int quark) |
protected static int | g_quark_try_string(String str) |
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Create a Quark object.Parameters: string The string value associated with this Quark.
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
This is the method that allows one to construct a Quark once a native peer has been provided.Parameters: handle The native peer that was returned from a call to the native libraries.
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Find a Quark that is associated with the given string. If one is not found a null value is returned.Parameters: string The string value to use for the search
Returns: The Quark value associated with the string or null if one is not found.
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Retrieve the string value associated with this Quark.Returns: The string value