code: protected Map<String, ZipEntry> getEntries(ZipFile zf) {
          Enumeration<?> e = zf.entries();
          Map<String, ZipEntry> m = new HashMap<String, ZipEntry>();
          while (e.hasMoreElements()) {
              ZipEntry ze = (ZipEntry) e.nextElement();
              m.put(ze.getName(), ze);
          }
          return m;
      }
docs: Get all the entries in a ZIP file.