org.apache.airavata.common.utils
Class BrowserLauncher

java.lang.Object
  extended by org.apache.airavata.common.utils.BrowserLauncher

public class BrowserLauncher
extends Object

Opens URLs with the OS-specific browser.


Constructor Summary
BrowserLauncher()
           
 
Method Summary
static void openURL(String url)
          Opens a specified URL with the browser.
static void openURL(URL url)
          Opens a specified URL with the browser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowserLauncher

public BrowserLauncher()
Method Detail

openURL

public static void openURL(URL url)
                    throws UtilsException
Opens a specified URL with the browser.

Parameters:
url - The specified URL.
Throws:
UtilsException

openURL

public static void openURL(String url)
                    throws UtilsException
Opens a specified URL with the browser.

Parameters:
url - The specified URL.
Throws:
UtilsException


Copyright © 2011-2012 The Apache Software Foundation. All Rights Reserved.