&nbsp;mimeType)
            throws <a href="MessagingException.html" title="class in jakarta.mail">MessagingException</a></pre>
<div class="block">Is this Part of the specified MIME type?  This method
 compares <strong>only the <code>primaryType</code> and 
 <code>subType</code></strong>.
 The parameters of the content types are ignored. <p>

 For example, this method will return <code>true</code> when
 comparing a Part of content type <strong>"text/plain"</strong>
 with <strong>"text/plain; charset=foobar"