  java.lang.String&nbsp;sub)
         throws <a href="MimeTypeParseException.html" title="class in jakarta.activation">MimeTypeParseException</a></pre>
<div class="block">Constructor that builds a MimeType with the given primary and sub type
 but has an empty parameter list.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>primary</code> - the primary MIME type</dd>
<dd><code>sub</code> - the MIME sub-type</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="Mim