OpenURIHandler (Java SE 14 & JDK 14)
Description: declaration: module: java.desktop, package: java.awt.desktop, interface: OpenURIHandler
Keywords: java.awt.desktop.OpenURIHandler interface

Module java.desktop
Package java.awt.desktop

# Interface OpenURIHandler

    public interface OpenURIHandler

An implementor is notified when the application is asked to open a URI.

Since:
  9
See Also:
  `Desktop.setOpenURIHandler(OpenURIHandler)`

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `void` | `openURI​(OpenURIEvent e)` | Called when the application is asked to open a `URI`.

- ## Method Details

  - ### openURI

    void openURI​(OpenURIEvent e)
    Called when the application is asked to open a `URI`.
    Parameters:
      `e` - the request to open a `URI`