java.lang.Object
io.qt.QtObject
io.qt.core.QTextCodec
- 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
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaliases()
static QList<QByteArray>
static QList<@QtPrimitiveType Integer>
final boolean
canEncode
(char arg__1) final boolean
static QTextCodec
static QTextCodec
codecForHtml
(QByteArray ba, QTextCodec defaultCodec) static QTextCodec
static QTextCodec
codecForMib
(int mib) static QTextCodec
codecForName
(QByteArray name) static QTextCodec
codecForName
(String name) 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
Overloaded function for
fromUnicode(char[], io.qt.core.QTextCodec.ConverterState)
withstate = null
. -
fromUnicode
-
fromUnicode
-
makeDecoder
Overloaded function for
makeDecoder(io.qt.core.QTextCodec.ConversionFlags)
. -
makeDecoder
Overloaded function for
makeDecoder(io.qt.core.QTextCodec.ConversionFlags)
withflags = new io.qt.core.QTextCodec.ConversionFlags(0)
. -
makeDecoder
-
makeEncoder
Overloaded function for
makeEncoder(io.qt.core.QTextCodec.ConversionFlags)
. -
makeEncoder
Overloaded function for
makeEncoder(io.qt.core.QTextCodec.ConversionFlags)
withflags = new io.qt.core.QTextCodec.ConversionFlags(0)
. -
makeEncoder
-
toUnicode
-
toUnicode
Overloaded function for
toUnicode(byte[], io.qt.core.QTextCodec.ConverterState)
withstate = null
. -
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
-