edu.stanford.ejalbert.launching.macos
Class MacOs3_0BrowserLaunching

java.lang.Object
  extended byedu.stanford.ejalbert.launching.macos.MacOsBrowserLaunching
      extended byedu.stanford.ejalbert.launching.macos.MacOs3_0BrowserLaunching
All Implemented Interfaces:
IBrowserLaunching

public class MacOs3_0BrowserLaunching
extends MacOsBrowserLaunching

Author:
Markus Gebhard

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
 
Constructor Summary
MacOs3_0BrowserLaunching()
           
 
Method Summary
 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(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
 

Constructor Detail

MacOs3_0BrowserLaunching

public MacOs3_0BrowserLaunching()
Method Detail

initialize

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

Throws:
BrowserLaunchingInitializingException

openUrl

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

Parameters:
urlString - String
Throws:
UnsupportedOperatingSystemException
BrowserLaunchingExecutionException
BrowserLaunchingInitializingException

getBrowserList

public 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.

Returns:
List