- All Implemented Interfaces:
QtObjectInterface
- Direct Known Subclasses:
QStringDecoder
,QStringEncoder
Base class for encoding and decoding text
Java wrapper for Qt class QStringConverter
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.core.QStringConverterBase
QStringConverterBase.Flag, QStringConverterBase.Flags, QStringConverterBase.State
-
Constructor Summary
ModifierConstructorDescriptionprotected
SeeQStringConverter::
QStringConverter() protected
QStringConverter
(QStringConverter.Encoding encoding, QStringConverterBase.Flag ... f) Overloaded constructor forQStringConverter(io.qt.core.QStringConverter.Encoding, io.qt.core.QStringConverterBase.Flags)
.protected
SeeQStringConverter::
QStringConverter(QStringConverter::Encoding, QStringConverterBase::Flags) protected
QStringConverter
(String name, QStringConverterBase.Flag ... f) Overloaded constructor forQStringConverter(java.lang.String, io.qt.core.QStringConverterBase.Flags)
.protected
SeeQStringConverter::
QStringConverter(const char*, QStringConverterBase::Flags) -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional
<QStringConverter.Encoding> encodingForData
(byte [] data) Overloaded function forencodingForData(byte[], char)
withexpectedFirstCharacter = 0
.static Optional
<QStringConverter.Encoding> encodingForData
(byte [] data, char expectedFirstCharacter) Overloaded function forencodingForData(io.qt.core.QByteArrayView, char)
.static Optional
<QStringConverter.Encoding> encodingForData
(QByteArray data) Overloaded function forencodingForData(io.qt.core.QByteArray, char)
withexpectedFirstCharacter = 0
.static Optional
<QStringConverter.Encoding> encodingForData
(QByteArray data, char expectedFirstCharacter) Overloaded function forencodingForData(io.qt.core.QByteArrayView, char)
.static Optional
<QStringConverter.Encoding> Overloaded function forencodingForData(io.qt.core.QByteArrayView, char)
withexpectedFirstCharacter = 0
.static Optional
<QStringConverter.Encoding> encodingForData
(QByteArrayView data, char expectedFirstCharacter) static Optional
<QStringConverter.Encoding> encodingForData
(String data) Overloaded function forencodingForData(java.lang.String, char)
withexpectedFirstCharacter = 0
.static Optional
<QStringConverter.Encoding> encodingForData
(String data, char expectedFirstCharacter) Overloaded function forencodingForData(io.qt.core.QByteArrayView, char)
.static Optional
<QStringConverter.Encoding> encodingForData
(ByteBuffer data) Overloaded function forencodingForData(java.nio.ByteBuffer, char)
withexpectedFirstCharacter = 0
.static Optional
<QStringConverter.Encoding> encodingForData
(ByteBuffer data, char expectedFirstCharacter) Overloaded function forencodingForData(io.qt.core.QByteArrayView, char)
.static Optional
<QStringConverter.Encoding> encodingForHtml
(byte [] data) Overloaded function forencodingForHtml(io.qt.core.QByteArrayView)
.static Optional
<QStringConverter.Encoding> encodingForHtml
(QByteArray data) Overloaded function forencodingForHtml(io.qt.core.QByteArrayView)
.static Optional
<QStringConverter.Encoding> static Optional
<QStringConverter.Encoding> encodingForHtml
(String data) Overloaded function forencodingForHtml(io.qt.core.QByteArrayView)
.static Optional
<QStringConverter.Encoding> encodingForHtml
(ByteBuffer data) Overloaded function forencodingForHtml(io.qt.core.QByteArrayView)
.static Optional
<QStringConverter.Encoding> encodingForName
(String name) final boolean
hasError()
final boolean
isValid()
final String
name()
static String
final void
protected final QStringConverterBase.State
state()
SeeQStringConverter::
state Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QStringConverter
protected QStringConverter()See
QStringConverter::
QStringConverter() -
QStringConverter
See
QStringConverter::
QStringConverter(QStringConverter::Encoding, QStringConverterBase::Flags) -
QStringConverter
See
QStringConverter::
QStringConverter(const char*, QStringConverterBase::Flags) -
QStringConverter
Overloaded constructor for
QStringConverter(io.qt.core.QStringConverter.Encoding, io.qt.core.QStringConverterBase.Flags)
. -
QStringConverter
Overloaded constructor for
QStringConverter(java.lang.String, io.qt.core.QStringConverterBase.Flags)
.
-
-
Method Details
-
hasError
-
isValid
-
name
-
resetState
-
encodingForData
public static Optional<QStringConverter.Encoding> encodingForData(QByteArrayView data, char expectedFirstCharacter) -
encodingForHtml
-
encodingForName
-
nameForEncoding
-
state
See
QStringConverter::
state -
encodingForData
Overloaded function for
encodingForData(io.qt.core.QByteArrayView, char)
withexpectedFirstCharacter = 0
. -
encodingForData
Overloaded function for
encodingForData(io.qt.core.QByteArray, char)
withexpectedFirstCharacter = 0
. -
encodingForData
public static Optional<QStringConverter.Encoding> encodingForData(QByteArray data, char expectedFirstCharacter) Overloaded function for
encodingForData(io.qt.core.QByteArrayView, char)
. -
encodingForData
Overloaded function for
encodingForData(java.nio.ByteBuffer, char)
withexpectedFirstCharacter = 0
. -
encodingForData
public static Optional<QStringConverter.Encoding> encodingForData(ByteBuffer data, char expectedFirstCharacter) Overloaded function for
encodingForData(io.qt.core.QByteArrayView, char)
. -
encodingForData
Overloaded function for
encodingForData(byte[], char)
withexpectedFirstCharacter = 0
. -
encodingForData
public static Optional<QStringConverter.Encoding> encodingForData(byte [] data, char expectedFirstCharacter) Overloaded function for
encodingForData(io.qt.core.QByteArrayView, char)
. -
encodingForData
Overloaded function for
encodingForData(java.lang.String, char)
withexpectedFirstCharacter = 0
. -
encodingForData
public static Optional<QStringConverter.Encoding> encodingForData(String data, char expectedFirstCharacter) Overloaded function for
encodingForData(io.qt.core.QByteArrayView, char)
. -
encodingForHtml
Overloaded function for
encodingForHtml(io.qt.core.QByteArrayView)
. -
encodingForHtml
Overloaded function for
encodingForHtml(io.qt.core.QByteArrayView)
. -
encodingForHtml
Overloaded function for
encodingForHtml(io.qt.core.QByteArrayView)
. -
encodingForHtml
Overloaded function for
encodingForHtml(io.qt.core.QByteArrayView)
.
-