java.lang.Object
io.qt.QtObject
io.qt.core.QTextDecoder
- All Implemented Interfaces:
QtObjectInterface
State-based decoder
Java wrapper for Qt class QTextDecoder
-
Constructor Summary
ConstructorDescriptionQTextDecoder
(QTextCodec codec) QTextDecoder
(QTextCodec codec, QTextCodec.ConversionFlag ... flags) Overloaded constructor forQTextDecoder(io.qt.core.QTextCodec, io.qt.core.QTextCodec.ConversionFlags)
.QTextDecoder
(QTextCodec codec, QTextCodec.ConversionFlags flags) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
SeeQTextDecoder::
hasFailure()const final boolean
SeeQTextDecoder::
needsMoreData()const final String
toUnicode
(byte[] chars) Overloaded function fortoUnicode(java.nio.ByteBuffer)
.final String
toUnicode
(byte[] chars, int offsetOfChars, int len) Overloaded function fortoUnicode(java.nio.ByteBuffer)
.final String
toUnicode
(QByteArray ba) final void
Overloaded function fortoUnicode(io.qt.core.QString, java.nio.ByteBuffer)
.final void
Overloaded function fortoUnicode(io.qt.core.QString, java.nio.ByteBuffer)
.final void
toUnicode
(QString target, ByteBuffer chars) final String
toUnicode
(ByteBuffer chars) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QTextDecoder
- Parameters:
codec
-
-
QTextDecoder
- Parameters:
codec
-flags
-- Since:
- This function was introduced in Qt 4.7.
-
QTextDecoder
Overloaded constructor for
QTextDecoder(io.qt.core.QTextCodec, io.qt.core.QTextCodec.ConversionFlags)
.
-
-
Method Details
-
hasFailure
See
QTextDecoder::
hasFailure()const - Returns:
-
needsMoreData
See
QTextDecoder::
needsMoreData()const - Returns:
-
toUnicode
- Parameters:
ba
-- Returns:
-
toUnicode
- Parameters:
target
-chars
-
-
toUnicode
- Parameters:
chars
-- Returns:
-
toUnicode
@QtUninvokable public final void toUnicode(QString target, byte[] chars, int offsetOfChars, int len) Overloaded function for
toUnicode(io.qt.core.QString, java.nio.ByteBuffer)
. -
toUnicode
Overloaded function for
toUnicode(io.qt.core.QString, java.nio.ByteBuffer)
. -
toUnicode
Overloaded function for
toUnicode(java.nio.ByteBuffer)
. -
toUnicode
Overloaded function for
toUnicode(java.nio.ByteBuffer)
.
-