Class DefaultPlatform

    • Constructor Detail

      • DefaultPlatform

        public DefaultPlatform()
    • Method Detail

      • open

        public void open​(URL url)
                  throws IOException
        Falls back to calling known browsers.

        Based on BareBonesBrowserLaunch.

        The utility 'xdg-open' launches the URL in the user's preferred browser, therefore we try to use it first, before trying to discover other browsers.

        Throws:
        IOException