Class BrowserOpener


  • public class BrowserOpener
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      BrowserOpener()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean showDocument​(java.lang.String urlstring)
      open a URL in the browser that was used to launch SPICE
      static boolean showDocument​(java.net.URL url)
      open a URL in the browser that was used to launch SPICE
      • Methods inherited from class java.lang.Object

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

      • BrowserOpener

        public BrowserOpener()
    • Method Detail

      • showDocument

        public static boolean showDocument​(java.net.URL url)
        open a URL in the browser that was used to launch SPICE
        Parameters:
        url - URL to be opened
        Returns:
        true if this was successfull
      • showDocument

        public static boolean showDocument​(java.lang.String urlstring)
        open a URL in the browser that was used to launch SPICE
        Parameters:
        urlstring - string represntation of URL to be opened
        Returns:
        true if this was successfull