public abstract class BrowserRunner
extends java.lang.Object
BrowserRunner launches and describes an external web 
 browser.| Constructor and Description | 
|---|
BrowserRunner()  | 
| Modifier and Type | Method and Description | 
|---|---|
static BrowserRunner | 
getBrowserRunner()
Returns the active BrowserRunner instance. 
 | 
abstract void | 
runBrowserOnURL(java.net.URL url,
               java.io.File htmlFile,
               java.io.PrintWriter printWriter)
Invokes the web browser on  
url. | 
void | 
runBrowserOnURLV2(java.net.URL url,
                 java.io.File htmlFile,
                 java.io.PrintWriter printWriter)
Invokes the web browser on  
url. | 
static void | 
setBrowserRunner(BrowserRunner browserRunner)
Sets the BrowserRunner instance. 
 | 
public static BrowserRunner getBrowserRunner()
public static void setBrowserRunner(BrowserRunner browserRunner)
public abstract void runBrowserOnURL(java.net.URL url,
                                     java.io.File htmlFile,
                                     java.io.PrintWriter printWriter)
url.  If the 
 htmlFile is not null, then on Win32 based
 operating systems, the htmlfile will be launched instead of the URL,
 as Windows fares better with a redirect from a local .htm[l] file.url - The URL to launch in the web browser.htmlFile - The temporary file to use on Windows.  This parameter
        can be null if no temp file is to be used, note 
        however that this could cause the web browser not to launch.printWriter - The PrintWriter to log any errors returned
        during the process of launching the web browser.  This parameter
        can be nullpublic void runBrowserOnURLV2(java.net.URL url,
                              java.io.File htmlFile,
                              java.io.PrintWriter printWriter)
                       throws java.lang.Exception
url.  If the 
 htmlFile is not null, then on Win32 based
 operating systems, the htmlfile will be launched instead of the URL,
 as Windows fares better with a redirect from a local .htm[l] file.
 
 This is version 2 of the runBrowserOnURL, that adds Exception reporting. For
 compatibility reasons, the default implementation calls the old version.url - The URL to launch in the web browser.htmlFile - The temporary file to use on Windows.  This parameter
        can be null if no temp file is to be used, note 
        however that this could cause the web browser not to launch.printWriter - The PrintWriter to log any errors returned
        during the process of launching the web browser.  This parameter
        can be nulljava.lang.Exception