title: Create Java-Zip-Archive from existing OutputStream
body: <p>Is it possible to create a Zip-Archive in Java if I do not want to write the resulting archive to disk but send it somewhere else?</p>
  
  <p>The idea is that it might be a waste to create a file on disk when you want to send the Zip-Archive to a user via HTTP (e.g. from a Database-Blob or any other Data-Store).</p>
  
  <p>I would like to create a </p>
  
  <pre><code>java.util.zip.ZipOutputStream 
  </code></pre>
  
  <p>or a </p>
  
  <pre><code>apache.commons.ZipArchiveOutputStream
  </code></pre>
  
  <p>where the Feeder would be a ByteArrayOutputStream coming from my Subversion Repository </p>