edu.stanford.ejalbert.launching
Class BrowserLaunchingFactory
java.lang.Object
edu.stanford.ejalbert.launching.BrowserLaunchingFactory
- public class BrowserLaunchingFactory
- extends Object
Factory for determining the OS and returning the appropriate version
of IBrowserLaunching. The factory uses
System.getProperty("os.name")
to
determine the OS.
- Author:
- Markus Gebhard
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BrowserLaunchingFactory
public BrowserLaunchingFactory()
createSystemBrowserLaunching
public static IBrowserLaunching createSystemBrowserLaunching(AbstractLogger logger)
throws UnsupportedOperatingSystemException
- Analyzes the name of the underlying operating system
based on the "os.name" system property and returns
the IBrowserLaunching version appropriate for the
O/S.
- Parameters:
logger
- AbstractLogger
- Returns:
- IBrowserLaunching
- Throws:
UnsupportedOperatingSystemException