Class LaunchBrowser


  • public class LaunchBrowser
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String execCommand  
      static boolean launchViaExec  
    • Constructor Summary

      Constructors 
      Constructor Description
      LaunchBrowser()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean showDocument​(java.net.URL url)
      attempt to show the given URL.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • execCommand

        public static final java.lang.String execCommand
      • launchViaExec

        public static final boolean launchViaExec
    • Constructor Detail

      • LaunchBrowser

        public LaunchBrowser()
    • Method Detail

      • showDocument

        public static boolean showDocument​(java.net.URL url)
        attempt to show the given URL. will first attempt via the JNLP api, then will try showViaExec().
        Parameters:
        url - the URL
        Returns:
        true on success