edu.stanford.ejalbert.launching.misc
Class SunOSBrowserLaunching

    java.lang.Object
    extended byedu.stanford.ejalbert.launching.misc.UnixNetscapeBrowserLaunching
    extended byedu.stanford.ejalbert.launching.misc.SunOSBrowserLaunching
All Implemented Interfaces:
IBrowserLaunching

public class SunOSBrowserLaunching
extends UnixNetscapeBrowserLaunching

Launches a default browser on SunOS Unix systems using the sdtwebclient command.

Author:
Olivier Hochreutiner

Field Summary
(package private) static StandardUnixBrowser SDT_WEB_CLIENT
           
 
Fields inherited from class edu.stanford.ejalbert.launching.misc.UnixNetscapeBrowserLaunching
logger
 
Fields inherited from interface edu.stanford.ejalbert.launching.IBrowserLaunching
BROWSER_DEFAULT, PROTOCOL_FILE, PROTOCOL_HTTP, PROTOCOL_MAILTO
 
Constructor Summary
SunOSBrowserLaunching(AbstractLogger logger)
           
 
Method Summary
 void openUrl(String urlString)
          This implementation will cause the calling thread to block until the browser exits.
 
Methods inherited from class edu.stanford.ejalbert.launching.misc.UnixNetscapeBrowserLaunching
getBrowserList, initialize, openUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SDT_WEB_CLIENT

    static final StandardUnixBrowser SDT_WEB_CLIENT
Constructor Detail

SunOSBrowserLaunching

    public SunOSBrowserLaunching(AbstractLogger logger)
Method Detail

openUrl

    public void openUrl(String urlString)
    throws UnsupportedOperatingSystemException,
    BrowserLaunchingExecutionException,
    BrowserLaunchingInitializingException
This implementation will cause the calling thread to block until the browser exits. Calling methods MUST wrap the call in a separate thread.

Specified by:
openUrl in interface IBrowserLaunching
Overrides:
openUrl in class UnixNetscapeBrowserLaunching
Parameters:
urlString - String
Throws:
BrowserLaunchingExecutionException
UnsupportedOperatingSystemException
BrowserLaunchingInitializingException