- All Implemented Interfaces:
QtObjectInterface
State-based decoder for text
Java wrapper for Qt class QStringDecoder
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.core.QStringConverter
QStringConverter.Encoding
Nested classes/interfaces inherited from class io.qt.core.QStringConverterBase
QStringConverterBase.Flag, QStringConverterBase.Flags, QStringConverterBase.State
-
Constructor Summary
ConstructorDescriptionQStringDecoder
(QStringConverter.Encoding encoding) Overloaded constructor forQStringDecoder(io.qt.core.QStringConverter.Encoding, io.qt.core.QStringConverterBase.Flags)
withflags = new io.qt.core.QStringConverterBase.Flags(0)
.QStringDecoder
(QStringConverter.Encoding encoding, QStringConverterBase.Flag ... flags) Overloaded constructor forQStringDecoder(io.qt.core.QStringConverter.Encoding, io.qt.core.QStringConverterBase.Flags)
.QStringDecoder
(QStringConverter.Encoding encoding, QStringConverterBase.Flags flags) QStringDecoder
(String name) Overloaded constructor forQStringDecoder(java.lang.String, io.qt.core.QStringConverterBase.Flags)
withf = new io.qt.core.QStringConverterBase.Flags(0)
.QStringDecoder
(String name, QStringConverterBase.Flag ... f) Overloaded constructor forQStringDecoder(java.lang.String, io.qt.core.QStringConverterBase.Flags)
. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
appendToBuffer
(CharBuffer out, byte [] ba) Overloaded function forappendToBuffer(java.nio.CharBuffer, io.qt.core.QByteArrayView)
.final void
appendToBuffer
(CharBuffer out, QByteArray ba) Overloaded function forappendToBuffer(java.nio.CharBuffer, io.qt.core.QByteArrayView)
.final void
appendToBuffer
(CharBuffer out, QByteArrayView ba) final void
appendToBuffer
(CharBuffer out, ByteBuffer ba) Overloaded function forappendToBuffer(java.nio.CharBuffer, io.qt.core.QByteArrayView)
.final String
decode
(byte [] ba) Overloaded function fordecode(io.qt.core.QByteArrayView)
.final String
decode
(QByteArray ba) final String
decode
(QByteArrayView ba) final String
decode
(ByteBuffer ba) Overloaded function fordecode(io.qt.core.QByteArrayView)
.static QStringDecoder
decoderForHtml
(byte [] data) Overloaded function fordecoderForHtml(io.qt.core.QByteArrayView)
.static QStringDecoder
decoderForHtml
(QByteArray data) Overloaded function fordecoderForHtml(io.qt.core.QByteArrayView)
.static QStringDecoder
decoderForHtml
(QByteArrayView data) static QStringDecoder
decoderForHtml
(ByteBuffer data) Overloaded function fordecoderForHtml(io.qt.core.QByteArrayView)
.final String
invoke
(byte [] ba) Overloaded function forinvoke(io.qt.core.QByteArrayView)
.final String
invoke
(QByteArray ba) final String
invoke
(QByteArrayView ba) final String
invoke
(ByteBuffer ba) Overloaded function forinvoke(io.qt.core.QByteArrayView)
.final long
requiredSpace
(long inputLength) Methods inherited from class io.qt.core.QStringConverter
availableCodecs, encodingForData, encodingForData, encodingForData, encodingForData, encodingForData, encodingForData, encodingForData, encodingForData, encodingForData, encodingForData, encodingForHtml, encodingForHtml, encodingForHtml, encodingForHtml, encodingForHtml, encodingForName, hasError, isValid, name, nameForEncoding, resetState, state
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QStringDecoder
public QStringDecoder() -
QStringDecoder
- Parameters:
encoding
-flags
-
-
QStringDecoder
- Parameters:
name
-f
-
-
QStringDecoder
Overloaded constructor for
QStringDecoder(io.qt.core.QStringConverter.Encoding, io.qt.core.QStringConverterBase.Flags)
withflags = new io.qt.core.QStringConverterBase.Flags(0)
. -
QStringDecoder
Overloaded constructor for
QStringDecoder(io.qt.core.QStringConverter.Encoding, io.qt.core.QStringConverterBase.Flags)
. -
QStringDecoder
Overloaded constructor for
QStringDecoder(java.lang.String, io.qt.core.QStringConverterBase.Flags)
withf = new io.qt.core.QStringConverterBase.Flags(0)
. -
QStringDecoder
Overloaded constructor for
QStringDecoder(java.lang.String, io.qt.core.QStringConverterBase.Flags)
.
-
-
Method Details
-
appendToBuffer
- Parameters:
out
-ba
-
-
decode
- Parameters:
ba
-- Returns:
-
decode
- Parameters:
ba
-- Returns:
-
invoke
- Parameters:
ba
-- Returns:
-
invoke
- Parameters:
ba
-- Returns:
-
requiredSpace
- Parameters:
inputLength
-- Returns:
-
decoderForHtml
- Parameters:
data
-- Returns:
-
appendToBuffer
Overloaded function for
appendToBuffer(java.nio.CharBuffer, io.qt.core.QByteArrayView)
. -
appendToBuffer
Overloaded function for
appendToBuffer(java.nio.CharBuffer, io.qt.core.QByteArrayView)
. -
appendToBuffer
Overloaded function for
appendToBuffer(java.nio.CharBuffer, io.qt.core.QByteArrayView)
. -
decode
Overloaded function for
decode(io.qt.core.QByteArrayView)
. -
decode
Overloaded function for
decode(io.qt.core.QByteArrayView)
. -
invoke
Overloaded function for
invoke(io.qt.core.QByteArrayView)
. -
invoke
Overloaded function for
invoke(io.qt.core.QByteArrayView)
. -
decoderForHtml
Overloaded function for
decoderForHtml(io.qt.core.QByteArrayView)
. -
decoderForHtml
Overloaded function for
decoderForHtml(io.qt.core.QByteArrayView)
. -
decoderForHtml
Overloaded function for
decoderForHtml(io.qt.core.QByteArrayView)
.
-