Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.gnu.glib.Quark
public class Quark
extends java.lang.Object
Constructor Summary | |
| |
|
Method Summary | |
static Quark |
|
protected static int |
|
protected static String |
|
protected static int |
|
int | |
String |
|
public Quark(String string)
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.
public Quark(int handle)
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.
public static final Quark findQuark(String string)
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.
protected static final int g_quark_from_string(String str)
protected static final String g_quark_to_string(int quark)
protected static final int g_quark_try_string(String str)
public int getHandle()
public final String getString()
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