Class BrowserControl


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

      Constructors 
      Constructor Description
      BrowserControl()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void displayURL​(java.lang.String url)
      Display a file in the system browser.
      static void main​(java.lang.String[] args)
      Simple example.
      • Methods inherited from class java.lang.Object

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

      • BrowserControl

        public BrowserControl()
    • Method Detail

      • displayURL

        public static void displayURL​(java.lang.String url)
        Display a file in the system browser. If you want to display a file, you must include the absolute path name.
        Parameters:
        url - the file's url (the url must start with either "http://" or "file://").
      • main

        public static void main​(java.lang.String[] args)
        Simple example.