- All Implemented Interfaces:
QtObjectInterface
Conversions between text encodings
Java wrapper for Qt class QTextCodec
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQTextCodec::ConversionFlag
static final class
QFlags
type for enumQTextCodec.ConversionFlag
static class
Java wrapper for Qt classQTextCodec::ConverterState
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaliases()
static QList
<QByteArray> static QList
<@QtPrimitiveType Integer> final boolean
canEncode
(char arg__1) final boolean
static QTextCodec
codecForHtml
(byte [] ba) Overloaded function forcodecForHtml(io.qt.core.QByteArray)
.static QTextCodec
codecForHtml
(byte [] ba, QTextCodec defaultCodec) Overloaded function forcodecForHtml(io.qt.core.QByteArray, io.qt.core.QTextCodec)
.static QTextCodec
static QTextCodec
codecForHtml
(QByteArray ba, QTextCodec defaultCodec) static QTextCodec
static QTextCodec
codecForMib
(int mib) static QTextCodec
codecForName
(byte [] name) Overloaded function forcodecForName(io.qt.core.QByteArray)
.static QTextCodec
codecForName
(QByteArray name) static QTextCodec
codecForName
(String name) static QTextCodec
codecForUtfText
(byte [] ba) Overloaded function forcodecForUtfText(io.qt.core.QByteArray)
.static QTextCodec
codecForUtfText
(byte [] ba, QTextCodec defaultCodec) Overloaded function forcodecForUtfText(io.qt.core.QByteArray, io.qt.core.QTextCodec)
.static QTextCodec
static QTextCodec
codecForUtfText
(QByteArray ba, QTextCodec defaultCodec) protected abstract QByteArray
convertFromUnicode
(char[] in, QTextCodec.ConverterState state) protected abstract String
convertToUnicode
(byte[] in, QTextCodec.ConverterState state) final QByteArray
fromUnicode
(char[] in) Overloaded function forfromUnicode(char[], io.qt.core.QTextCodec.ConverterState)
withstate = null
.final QByteArray
fromUnicode
(char[] in, QTextCodec.ConverterState state) final QByteArray
fromUnicode
(String uc) final QTextDecoder
Overloaded function formakeDecoder(io.qt.core.QTextCodec.ConversionFlags)
withflags = new io.qt.core.QTextCodec.ConversionFlags(0)
.final QTextDecoder
makeDecoder
(QTextCodec.ConversionFlag ... flags) Overloaded function formakeDecoder(io.qt.core.QTextCodec.ConversionFlags)
.final QTextDecoder
final QTextEncoder
Overloaded function formakeEncoder(io.qt.core.QTextCodec.ConversionFlags)
withflags = new io.qt.core.QTextCodec.ConversionFlags(0)
.final QTextEncoder
makeEncoder
(QTextCodec.ConversionFlag ... flags) Overloaded function formakeEncoder(io.qt.core.QTextCodec.ConversionFlags)
.final QTextEncoder
abstract int
mibEnum()
abstract QByteArray
name()
static void
final String
toUnicode
(byte[] in) Overloaded function fortoUnicode(byte[], io.qt.core.QTextCodec.ConverterState)
withstate = null
.final String
toUnicode
(byte[] in, QTextCodec.ConverterState state) final String
toUnicode
(QByteArray arg__1) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QTextCodec
protected QTextCodec()
-
-
Method Details
-
canEncode
-
canEncode
-
fromUnicode
-
fromUnicode
-
makeDecoder
-
makeEncoder
-
toUnicode
-
toUnicode
-
aliases
-
convertFromUnicode
@QtUninvokable protected abstract QByteArray convertFromUnicode(char[] in, QTextCodec.ConverterState state) -
convertToUnicode
@QtUninvokable protected abstract String convertToUnicode(byte[] in, QTextCodec.ConverterState state) -
mibEnum
-
name
-
availableCodecs
-
availableMibs
-
codecForHtml
-
codecForHtml
-
codecForLocale
-
codecForMib
-
codecForName
-
codecForName
-
codecForUtfText
-
codecForUtfText
-
setCodecForLocale
-
fromUnicode
Overloaded function for
fromUnicode(char[], io.qt.core.QTextCodec.ConverterState)
withstate = null
. -
makeDecoder
Overloaded function for
makeDecoder(io.qt.core.QTextCodec.ConversionFlags)
withflags = new io.qt.core.QTextCodec.ConversionFlags(0)
. -
makeDecoder
Overloaded function for
makeDecoder(io.qt.core.QTextCodec.ConversionFlags)
. -
makeEncoder
Overloaded function for
makeEncoder(io.qt.core.QTextCodec.ConversionFlags)
withflags = new io.qt.core.QTextCodec.ConversionFlags(0)
. -
makeEncoder
Overloaded function for
makeEncoder(io.qt.core.QTextCodec.ConversionFlags)
. -
toUnicode
Overloaded function for
toUnicode(byte[], io.qt.core.QTextCodec.ConverterState)
withstate = null
. -
codecForHtml
Overloaded function for
codecForHtml(io.qt.core.QByteArray)
. -
codecForHtml
Overloaded function for
codecForHtml(io.qt.core.QByteArray, io.qt.core.QTextCodec)
. -
codecForName
Overloaded function for
codecForName(io.qt.core.QByteArray)
. -
codecForUtfText
Overloaded function for
codecForUtfText(io.qt.core.QByteArray)
. -
codecForUtfText
Overloaded function for
codecForUtfText(io.qt.core.QByteArray, io.qt.core.QTextCodec)
.
-