Changes since
the last release

com.ebay.sdk.helper.ui
Class BrowserLauncher

java.lang.Object
  extended by com.ebay.sdk.helper.ui.BrowserLauncher

public class BrowserLauncher
extends java.lang.Object

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4210168

Title:

Description:

Copyright: Copyright (c) 2004

Company:

Version:
1.0
Author:
gtorrence

Field Summary
protected static java.lang.String[][] unixBrowsers
           
protected static java.lang.String[][] windowsBrowsers
           
 
Constructor Summary
BrowserLauncher()
           
 
Method Summary
protected static java.lang.String[][] getBrowsers()
           
static void openURL(java.lang.String url)
          Launches the user's browser with the specified HTTP URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

windowsBrowsers

protected static final java.lang.String[][] windowsBrowsers

unixBrowsers

protected static final java.lang.String[][] unixBrowsers
Constructor Detail

BrowserLauncher

public BrowserLauncher()
Method Detail

openURL

public static void openURL(java.lang.String url)
                    throws java.io.IOException
Launches the user's browser with the specified HTTP URL. This method is designed only to work under windows or unix. For windows, the user must have url.dll set up properly. For unix, the user must have firefox, netscape, or mozilla in their path. This has been tested under Win NT, 2000, and XP. It has also been tested under Solaris 7, 8, 9 and Redhat 7, 8, 9, EL3, and Fedora core 2.

Parameters:
url - The web page to launch in the format "http://foo.bar.com"
Throws:
java.io.IOException - thrown if no browser is sucessfully launched.

getBrowsers

protected static java.lang.String[][] getBrowsers()

Changes since
the last release

The information contained in this document is proprietary and confidential. Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc. For information regarding a qualifying NDA, contact Developer Relations: developer-relations@ebay.com
© 2004-2009 eBay Inc. All rights reserved.