Class LinkUtils

java.lang.Object
com.assemblyrobot.ui.utils.LinkUtils

public abstract class LinkUtils
extends java.lang.Object
Generic link utilities.
  • Constructor Summary

    Constructors
    Constructor Description
    LinkUtils()  
  • Method Summary

    Modifier and Type Method Description
    static void openURLInBrowser​(java.lang.String url)
    Opens a URL in the user's default browser on supported operating systems.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LinkUtils

      public LinkUtils()
  • Method Details

    • openURLInBrowser

      public static void openURLInBrowser​(java.lang.String url)
      Opens a URL in the user's default browser on supported operating systems.
      Parameters:
      url - URL to open. Malformed URLs will result in logged errors, but no throws, as this is supposed to be a set-it-and-forget-it solution.