org.jdesktop.jdic.desktop.internal
Interface BrowserService


public interface BrowserService

The BrowserService interface provides interaction with the system default browser.


Method Summary
 void show(java.net.URL url)
          Launches the system default browser to show the given URL.
 void show(java.net.URL url, java.lang.String target)
          Opens the given URL in the target window of the system default browser.
 

Method Detail

show

void show(java.net.URL url)
          throws LaunchFailedException
Launches the system default browser to show the given URL.

Parameters:
url - the given URL.
Throws:
LaunchFailedException - if the system browser is found but fails to be launched.

show

void show(java.net.URL url,
          java.lang.String target)
          throws LaunchFailedException
Opens the given URL in the target window of the system default browser.

Parameters:
url - the given URL.
target - the given target browser window name.
Throws:
LaunchFailedException - if the system browser is found but fails to be launched.


Copyright © 2005 Sun Microsystems All Rights Reserved.