</dl>
</li>
</ul>
<a id="setText(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setText</h4>
<pre class="methodSignature">void&nbsp;setText&#8203;(java.lang.String&nbsp;text)
      throws <a href="MessagingException.html" title="class in jakarta.mail">MessagingException</a></pre>
<div class="block">A convenience method that sets the given String as this
 part's content with a MIME type of "text/plain".</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd