org.gnu.glib

Class GListString


public final class GListString
extends GObject

Field Summary

Fields inherited from class org.gnu.glib.GObject

eventsInitialized

Constructor Summary

GListString()
Construct an instance.
GListString(String[] list)
Construct an instance initially containing the elemnts of the given array.
GListString(Vector vec)
Construct an instance initially containing the elements of the given vector.

Method Summary

void
append(String s)
Append a string to the end of this instance.
Handle
append0(Handle handle, String str)
Append a string to this instance, where the string is represented as an array of bytes representing character values in the default encoding.
protected void
finalize()
Finalize this instance.

Methods inherited from class org.gnu.glib.GObject

addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, finalize, 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

Methods inherited from class org.gnu.glib.Struct

equals, getHandle, getNullHandle, hashCode, setHandle

Constructor Details

GListString

public GListString()
Construct an instance. It initially contains no elements.

GListString

public GListString(String[] list)
Construct an instance initially containing the elemnts of the given array.
Parameters:
list - The Array containing the elements to put in this instance.

GListString

public GListString(Vector vec)
Construct an instance initially containing the elements of the given vector.
Parameters:
vec - the vector containing the elements to put in the instance

Method Details

append

public void append(String s)
Append a string to the end of this instance.
Parameters:
s - the string to append

append0

public Handle append0(Handle handle,
                      String str)
Append a string to this instance, where the string is represented as an array of bytes representing character values in the default encoding.
Parameters:
str - The string, represented in ISO-8859-1

finalize

protected void finalize()
            throws Throwable
Finalize this instance. This method should never be called, other than by the Java virtual machine.
Overrides:
finalize in interface GObject