|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.webbrowser.BrowserRunner
The BrowserRunner
launches and describes an external web
browser.
Constructor Summary | |
BrowserRunner()
|
Method Summary | |
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 . |
static void |
setBrowserRunner(BrowserRunner browserRunner)
Sets the BrowserRunner instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BrowserRunner()
Method Detail |
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 null
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.