|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.fhcrc.cpl.toolbox.BrowserController
public class BrowserController
This class exists to make it easier to open browser windows, and to provide various kinds of URL construction
| Constructor Summary | |
|---|---|
BrowserController()
|
|
| Method Summary | |
|---|---|
static void |
navigate(java.io.File file)
|
static void |
navigate(java.lang.String urlString)
throws IOException |
static void |
navigate(java.net.URL url)
|
static void |
navigateOrPanelTempFileWithContents(java.lang.String contents,
java.lang.String tempFileName,
java.lang.Object caller)
Attempts to point the browser to a temp file filled with "contents". |
static void |
openTempFileWithContents(java.lang.String contents,
java.lang.String tempFileName,
java.lang.Object caller)
Write the specified contents to a temp file and point the browser at it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BrowserController()
| Method Detail |
|---|
public static void navigate(java.net.URL url)
throws java.io.IOException
url -
java.io.IOException - if the attempt to open the browser fails
public static void navigate(java.lang.String urlString)
throws java.io.IOException
urlString -
java.io.IOException - if the attempt to open the browser fails
public static void navigate(java.io.File file)
throws java.io.IOException
file -
java.io.IOException - if the attempt to open the browser fails
public static void openTempFileWithContents(java.lang.String contents,
java.lang.String tempFileName,
java.lang.Object caller)
throws java.io.IOException
contents - caller -
java.io.IOException
public static void navigateOrPanelTempFileWithContents(java.lang.String contents,
java.lang.String tempFileName,
java.lang.Object caller)
throws java.io.IOException
contents - tempFileName - caller -
java.io.IOException - only if we can't write the temp file
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||