cs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;charset)</pre>
<div class="block">Create a new <code>MediaType</code> instance with the same type, subtype and parameters
 copied from the original instance and the supplied <a href="../../../../javax/ws/rs/core/MediaType.html#CHARSET_PARAMETER">"charset"</a> parameter.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>charset</code> - the <a href="../../../../javax/ws/rs/core/Media