Home about services products contact login
   com.smardec.asc

Advanced Swing Components

  animatepanel
  autocomplete
  dropdown
  filechooser
  fontchooser
  gradient
  hyperlink
  outlookpanel
  outlookpanel.renderers
  quick
  rotate
  sliderpanel
  spantable
  splashscreen
  statusbar
  table
  table.renderers
  table.wrappers
  tree
  treetable
  util
  xmlbars
  xmlbars.menubar
  xmlbars.toolbar
  xmlbars.toolbar.layouts
com.smardec.asc.hyperlink
Class HyperlinkUtil

java.lang.Object
|
+--com.smardec.asc.hyperlink.HyperlinkUtil

public class HyperlinkUtil
extends java.lang.Object

Class for launching internet browser. Supports different platforms.


Method Summary
static java.lang.String getBrowserPath()
Returns user-defined path to the internet browser.
static void openInternetBrowser(java.lang.String url)
Opens specified url in the internet browser.
static void setBrowserPath(java.lang.String browserPath)
Sets path to the internet browser.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail
getBrowserPath
public static java.lang.String getBrowserPath()

Returns user-defined path to the internet browser. If the path is null than the default browser will be launched.

Returns:
path to the internet browser.

setBrowserPath
public static void setBrowserPath(java.lang.String browserPath)
Sets path to the internet browser. If set to null than the default browser will be launched.

Parameters:
browserPath - path to the internet browser

openInternetBrowser
public static void openInternetBrowser(java.lang.String url)
Opens specified url in the internet browser.

Parameters:
url - url string to open
Home about services products contact login