code: public void zip(OutputStream os, final String glob) throws IOException, InterruptedException {
          archive(ArchiverFactory.ZIP,os,glob);
      }
docs: Creates a zip file from this directory by only including the files that match the given glob.
  
  @param glob
  Ant style glob, like "**&#x2F;*.xml". If empty or null, this method
  works like {@link #createZipArchive(OutputStream)}, inserting a top-level directory into the ZIP.
  
  @since 1.315