org.gnu.glib

Class GListString


public final class GListString
extends GObject

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.

Methods inherited from class org.gnu.glib.GObject

addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getEventListenerClass, getEventType, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getPixbufProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setPixbufProperty, setProperty, setStringProperty, thawNotify

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