Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.browserlauncher
Class BrowserLauncherImpl

java.lang.Object
  extended by net.java.sip.communicator.impl.browserlauncher.BrowserLauncherImpl
All Implemented Interfaces:
BrowserLauncherService

public class BrowserLauncherImpl
extends Object
implements BrowserLauncherService

Implements a BrowserLauncherService which opens a specified URL in an OS-specific associated browser.

Author:
Yana Stamcheva, Lubomir Marinov

Constructor Summary
BrowserLauncherImpl()
           
 
Method Summary
 void openURL(String url)
          Tries to open the specified URL in a browser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowserLauncherImpl

public BrowserLauncherImpl()
Method Detail

openURL

public void openURL(String url)
Tries to open the specified URL in a browser. The attempt is asynchronously executed and does not wait for possible errors related to the launching of the associated browser and the opening of the specified URL in it i.e. the method returns immediately and does not report the success or the failure of the opening.

Specified by:
openURL in interface BrowserLauncherService
Parameters:
url - a String value which represents the URL to be opened in a browser
See Also:
BrowserLauncherService.openURL(java.lang.String)

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.