|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Quark
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.
public class Quark
A Quark is an association between a String and an integer identifier. Given either the String or the Quark it is possible to retrieve the other. This object is used primarily inside of the bindings. The external interface should use a standard Java type like Property.
Constructor Summary | |
---|---|
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. |
|
Quark(java.lang.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. |
Method Summary | |
---|---|
static Quark |
findQuark(java.lang.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. |
protected static int |
g_quark_from_string(java.lang.String str)
Deprecated. |
protected static java.lang.String |
g_quark_to_string(int quark)
Deprecated. |
protected static int |
g_quark_try_string(java.lang.String str)
Deprecated. |
int |
getHandle()
Deprecated. |
java.lang.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Quark(java.lang.String string)
string
- The string value associated with this Quark.public Quark(int handle)
handle
- The native peer that was returned from a call to the native
libraries.Method Detail |
---|
public final java.lang.String getString()
public static final Quark findQuark(java.lang.String string)
string
- The string value to use for the search
public int getHandle()
protected static final int g_quark_from_string(java.lang.String str)
protected static final int g_quark_try_string(java.lang.String str)
protected static final java.lang.String g_quark_to_string(int quark)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |