Interface OpenLink


public interface OpenLink
Launches the default browser of the platform as a separate application process. The browser will be opened with the provided URL.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.slf4j.Logger
     
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static void
    openURL(@NotNull String url)
    Opens the given URL string in the browser.
    static void
    openURL(@NotNull URL url)
    Opens the given URL in the browser.
  • Field Details

    • logger

      static final org.slf4j.Logger logger
  • Method Details

    • openURL

      static void openURL(@NotNull @NotNull URL url)
      Opens the given URL in the browser.
      Parameters:
      url - the URL to open
    • openURL

      static void openURL(@NotNull @NotNull String url)
      Opens the given URL string in the browser.
      Parameters:
      url - the URL string to open