org.gnu.glib
GList
structure, specialized to hold
only lists of strings. This class provides a way to translate between
GList
and native Java arrays and collections. For instances
initially constructed at the Java layer, the class manages all of the memory
pointed to by the GLib layer, so, in that case, if an instance of this class
gets gc'ed then the GLib memory will be reclaimed. Some instances of this
class have their origin in the GLib layer, however. For these instances, no
GLib memory is reclaimed when the Java instance gets collected.
This class is not intended to provide all of the functionality of
GList
directly. If, for example, you are interested in
interactively inserting or deleting elements, or iterating over the elements,
you should do such things with Java objects, translating to and from
instances of this class as needed.
The Java-Gnome bindings library is free software distributed under the terms of the GNU Library General Public License version 2.
public final class GListString extends GObject
eventsInitialized
Constructor and Description |
---|
GListString()
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.
|
GListString(java.lang.String[] list)
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.
|
GListString(java.util.Vector vec)
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.
|
Modifier and Type | Method and Description |
---|---|
void |
append(java.lang.String s)
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.
|
Handle |
append0(Handle handle,
java.lang.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.
|
protected void |
finalize()
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.
|
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getData, getDoubleProperty, getEventListenerClass, getEventType, getFloatProperty, getGObjectFromHandle, getIntFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getProperty, getStringFromHandle, getStringProperty, hasProperty, instantiateJGObjectFromGType, notify, removeEventHandler, removeListener, retrieveGObject, setBooleanProperty, setData, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setProperty, setStringProperty, thawNotify
public GListString()
public GListString(java.util.Vector vec)
vec
- the vector containing the elements to put in the instancepublic GListString(java.lang.String[] list)
list
- The Array containing the elements to put in this instance.protected void finalize() throws java.lang.Throwable
public void append(java.lang.String s)
s
- the string to appendpublic Handle append0(Handle handle, java.lang.String str)
byte
s representing character values in the
default encoding.str
- The string, represented in ISO-8859-1