edu.stanford.ejalbert.launching.misc
Class SunOSBrowserLaunching
java.lang.Object
edu.stanford.ejalbert.launching.misc.UnixNetscapeBrowserLaunching
edu.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
Method Summary |
void |
openUrl(String urlString)
Opens a url using the default browser. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIGFILE_SUNOS
public static final String CONFIGFILE_SUNOS
- config file for SunOS.
- See Also:
- Constant Field Values
SunOSBrowserLaunching
public SunOSBrowserLaunching(AbstractLogger logger)
- Passes the logger and config file for SunOS to its
super class.
- Parameters:
logger
- AbstractLogger
openUrl
public void openUrl(String urlString)
throws UnsupportedOperatingSystemException,
BrowserLaunchingExecutionException,
BrowserLaunchingInitializingException
- Opens a url using the default browser. It uses sdtwebclient
to launch the default browser. The sdtwebclient executable
is mapped to
IBrowserLaunching.BROWSER_DEFAULT
.
- Specified by:
openUrl
in interface IBrowserLaunching
- Overrides:
openUrl
in class UnixNetscapeBrowserLaunching
- Parameters:
urlString
- String
- Throws:
BrowserLaunchingExecutionException
UnsupportedOperatingSystemException
BrowserLaunchingInitializingException