ntent(java.lang.Object,java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setContent</h4>
<pre class="methodSignature">void&nbsp;setContent&#8203;(java.lang.Object&nbsp;obj,
                java.lang.String&nbsp;type)
         throws <a href="MessagingException.html" title="class in jakarta.mail">MessagingException</a></pre>
<div class="block">A convenience method for setting this part's content.  The part
 internally wraps the content in a DataHandler. <p>

 Note that a D