code: public void zip(OutputStream os, FileFilter filter) throws IOException, InterruptedException {
          archive(ArchiverFactory.ZIP,os,filter);
      }
docs: Creates a zip file from this directory by using the specified filter,
  and sends the result to the given output stream.
  
  @param filter
  Must be serializable since it may be executed remotely. Can be null to add all files.
  
  @since 1.315