|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ide.webbrowser.BrowserRunner
public abstract class 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 . |
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. |
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
public 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 null
java.lang.Exception
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |