Code example for ZipEntry

0
			     new FileOutputStream(saveFile)));
       
      dout.writeBytes(outString);
      dout.close();
    } else { 
      ze = new ZipEntry(name);
      m_zs.putNextEntry(ze);
      m_zipOut.writeBytes(outString);
      m_zs.closeEntry();
    } 
  } 
 
  /** 
   * Closes the zip file. 
   *  
   * @throws Exception if something goes wrong 
   */ 
  public void finished() throws Exception {
    if (m_zipOut != null) {
      m_zipOut.close();