<class name="QTextEncoder" doc="/**
&lt;p&gt;The &lt;a href=&quot;QTextEncoder.html#QTextEncoder(com.trolltech.qt.core.QTextCodec)&quot;&gt;&lt;tt&gt;QTextEncoder&lt;/tt&gt;&lt;/a&gt; class provides a state-based encoder.&lt;/p&gt;
&lt;p&gt;A text encoder converts text from Unicode into an encoded text format using a specific codec.&lt;/p&gt;
&lt;p&gt;The encoder converts Unicode into another format, remembering any state that is required between calls.&lt;/p&gt;

@see &lt;tt&gt;QTextCodec::makeEncoder&lt;/tt&gt;
@see &lt;a href=&quot;QTextDecoder.html&quot;&gt;&lt;tt&gt;QTextDecoder&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QTextEncoder(com.trolltech.qt.core.QTextCodec codec)" doc="/**
&lt;p&gt;Constructs a text encoder for the given &lt;tt&gt;codec&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QByteArray fromUnicode(java.lang.String str)" doc="/**
&lt;p&gt;Converts the Unicode string &lt;tt&gt;str&lt;/tt&gt; into an encoded &lt;a href=&quot;QByteArray.html&quot;&gt;&lt;tt&gt;QByteArray&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
</class>
