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


Copyright © 2003-2005 Smardec. All Rights Reserved.