Package ch.bailu.gtk.gio
Class ConverterInputStream
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.gio.InputStream
ch.bailu.gtk.gio.FilterInputStream
ch.bailu.gtk.gio.ConverterInputStream
- All Implemented Interfaces:
PointerInterface
Converter input stream implements #GInputStream and allows
conversion of data of various types during reading.
As of GLib 2.34, #GConverterInputStream implements
#GPollableInputStream.
conversion of data of various types during reading.
As of GLib 2.34, #GConverterInputStream implements
#GPollableInputStream.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.bailu.gtk.gio.InputStream
InputStream.OnAsyncReadyCallbackNested classes/interfaces inherited from class ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify -
Field Summary
Fields inherited from class ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY -
Constructor Summary
ConstructorsConstructorDescriptionConverterInputStream(InputStream base_stream, Converter converter) Creates a new converter input stream for the @base_stream.ConverterInputStream(PointerContainer pointer) -
Method Summary
Modifier and TypeMethodDescriptionImplements interfacePollableInputStream.static ClassHandlerGets the #GConverter that is used by @converter_stream.static intstatic longstatic TypeSystem.TypeSizestatic longstatic TypeSystem.TypeSizeMethods inherited from class ch.bailu.gtk.gio.FilterInputStream
getBaseStream, getCloseBaseStream, setCloseBaseStreamMethods inherited from class ch.bailu.gtk.gio.InputStream
clearPending, close, closeAsync, closeFinish, hasPending, isClosed, read, readAll, readAllAsync, readAllFinish, readAsync, readBytes, readBytesAsync, readBytesFinish, readFinish, setPending, skip, skipAsync, skipFinishMethods inherited from class ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnrefMethods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksMethods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Constructor Details
-
ConverterInputStream
-
ConverterInputStream
Creates a new converter input stream for the @base_stream.- Parameters:
base_stream- a #GInputStreamconverter- a #GConverter
-
-
Method Details
-
getClassHandler
-
getConverter
Gets the #GConverter that is used by @converter_stream.- Returns:
- the converter of the converter input stream
-
asPollableInputStream
Implements interfacePollableInputStream. Call this to get access to interface functions.- Returns:
PollableInputStream
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-