code: public static boolean entryEquals(ZipFile zf1, ZipFile zf2, String path1, String path2) {
      try {
        return doEntryEquals(zf1, zf2, path1, path2);
      }
      catch (IOException e) {
        throw ZipExceptionUtil.rethrow(e);
      }
    }
docs: Compares two ZIP entries (byte-by-byte). .
  
  @param zf1
  first ZIP file.
  @param zf2
  second ZIP file.
  @param path1
  name of the first entry.
  @param path2
  name of the second entry.
  @return <code>true</code> if the contents of the entries were same.