|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.util.WebBrowser
public abstract class WebBrowser
WebBrower - handles the WebBrowser process on behalf of OM. This class should be extended and implemented fully to handle browser requests as you like. You can use BrowserLauncher2 if you like.
Constructor Summary | |
---|---|
WebBrowser()
|
Method Summary | |
---|---|
abstract void |
launch(java.lang.String urlString)
Creates a new web browser process, or points the current one to the url argument. |
void |
setInfoDelegator(InfoDisplayListener info)
|
void |
writeAndLaunch(java.lang.String text)
Writes out temporary text file, and creates a new web browser process or points the current one at the file. |
protected java.lang.String |
writeFileAndGenerateURL(java.lang.String text)
Write temporary file to temporary directory, and generate URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebBrowser()
Method Detail |
---|
protected java.lang.String writeFileAndGenerateURL(java.lang.String text)
text
- text String
public void setInfoDelegator(InfoDisplayListener info)
public abstract void launch(java.lang.String urlString)
urlString
- URLpublic void writeAndLaunch(java.lang.String text)
text
- String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |