p>Default is Deflater.DEFAULT_COMPRESSION.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>level</code> - the compression level.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if an invalid compression
 level is specified.</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.1</dd></dl>
</li>
</ul>
<a name="setMethod(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMethod</h4>
<pre>public&nbsp;void