edu.stanford.ejalbert.launching
Class BrowserLaunchingFactory

java.lang.Object
  extended by edu.stanford.ejalbert.launching.BrowserLaunchingFactory

public class BrowserLaunchingFactory
extends java.lang.Object

Factory for determining the OS and returning the appropriate version of IBrowserLaunching. The factory uses System.getProperty("os.name") to determine the OS.


Constructor Summary
BrowserLaunchingFactory()
           
 
Method Summary
static IBrowserLaunching createSystemBrowserLaunching(net.sf.wraplog.AbstractLogger logger)
          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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowserLaunchingFactory

public BrowserLaunchingFactory()
Method Detail

createSystemBrowserLaunching

public static IBrowserLaunching createSystemBrowserLaunching(net.sf.wraplog.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