am</h4>
<pre>public&nbsp;ZipOutputStream(java.io.File&nbsp;file)
                throws java.io.IOException</pre>
<div class="block">Creates a new ZIP OutputStream writing to a File.  Will use
 random access if possible.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>file</code> - the file to zip to</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code> - on error</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.14</dd></dl>
</li>
</ul>
</li>
</ul>