edu.stanford.ejalbert.launching.macos
Class MacOs2_1BrowserLaunching

java.lang.Object
  extended by edu.stanford.ejalbert.launching.macos.MacOsBrowserLaunching
      extended by edu.stanford.ejalbert.launching.macos.MacOs2_1BrowserLaunching
All Implemented Interfaces:
IBrowserLaunching

public class MacOs2_1BrowserLaunching
extends MacOsBrowserLaunching
implements IBrowserLaunching


Field Summary
 
Fields inherited from class edu.stanford.ejalbert.launching.macos.MacOsBrowserLaunching
FINDER_CREATOR
 
Fields inherited from interface edu.stanford.ejalbert.launching.IBrowserLaunching
BROWSER_DEFAULT, BROWSER_SYSTEM_PROPERTY, PROP_KEY_BROWSER_PREFIX, PROP_KEY_DELIMITER, PROTOCOL_FILE, PROTOCOL_HTTP, PROTOCOL_MAILTO, WINDOWS_BROWSER_DISC_POLICY_DISK, WINDOWS_BROWSER_DISC_POLICY_PROPERTY, WINDOWS_BROWSER_DISC_POLICY_REGISTRY
 
Constructor Summary
MacOs2_1BrowserLaunching()
           
 
Method Summary
 java.util.List getBrowserList()
          Returns a list of browsers to be used for browser targetting.
 void initialize()
          Performs any initialization needed for the particular O/S.
 void openUrl(java.lang.String urlString)
          Opens the passed url in the system's default browser.
 
Methods inherited from class edu.stanford.ejalbert.launching.macos.MacOsBrowserLaunching
getNewWindowPolicy, openUrl, openUrl, setNewWindowPolicy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.stanford.ejalbert.launching.IBrowserLaunching
getNewWindowPolicy, openUrl, openUrl, setNewWindowPolicy
 

Constructor Detail

MacOs2_1BrowserLaunching

public MacOs2_1BrowserLaunching()
Method Detail

initialize

public void initialize()
                throws BrowserLaunchingInitializingException
Description copied from interface: IBrowserLaunching
Performs any initialization needed for the particular O/S.

Specified by:
initialize in interface IBrowserLaunching
Throws:
BrowserLaunchingInitializingException

openUrl

public void openUrl(java.lang.String urlString)
             throws UnsupportedOperatingSystemException,
                    BrowserLaunchingExecutionException,
                    BrowserLaunchingInitializingException
Description copied from interface: IBrowserLaunching
Opens the passed url in the system's default browser.

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

getBrowserList

public java.util.List getBrowserList()
Returns a list of browsers to be used for browser targetting. This list will always contain at least one item--the BROWSER_DEFAULT.

Specified by:
getBrowserList in interface IBrowserLaunching
Returns:
List