code: public static boolean handle(File zip, String name, ZipEntryCallback action) {
      ZipFile zf = null;
      try {
        zf = new ZipFile(zip);
  
        ZipEntry ze = zf.getEntry(name);
        if (ze == null) {
          return false; // entry not found
        }
  
        InputStream in = new BufferedInputStream(zf.getInputStream(ze));
        try {
          action.process(in, ze);
        }
        finally {
          IOUtils.closeQuietly(in);
        }
        return true;
      }
      catch (IOException e) {
        throw ZipExceptionUtil.rethrow(e);
      }
      finally {
        closeQuietly(zf);
      }
    }
docs: Reads the given ZIP file and executes the given action for a single entry.
  
  @param zip
  input ZIP file.
  @param name
  entry name.
  @param action
  action to be called for this entry.
  @return <code>true</code> if the entry was found, <code>false</code> if the
  entry was not found.
  
  @see ZipEntryCallback