程序包 weka.gui

类 BrowserHelper

java.lang.Object
weka.gui.BrowserHelper

public class BrowserHelper extends Object
A little helper class for browser related stuff.

The openURL method is based on Bare Bones Browser Launch, which is placed in the public domain.

版本:
$Revision: 7059 $
作者:
fracpete (fracpete at waikato dot ac dot nz)
  • 字段详细资料

    • LINUX_BROWSERS

      public static final String[] LINUX_BROWSERS
      Linux/Unix binaries to look for
  • 构造器详细资料

    • BrowserHelper

      public BrowserHelper()
  • 方法详细资料

    • openURL

      public static void openURL(String url)
      opens the URL in a browser.
      参数:
      url - the URL to open
    • openURL

      public static void openURL(Component parent, String url)
      opens the URL in a browser.
      参数:
      parent - the parent component
      url - the URL to open
    • openURL

      public static void openURL(Component parent, String url, boolean showDialog)
      opens the URL in a browser.
      参数:
      parent - the parent component
      url - the URL to open
      showDialog - whether to display a dialog in case of an error or just print the error to the console