i3mclient.i3m
Class Browser

java.lang.Object
  |
  +--i3mclient.i3m.Browser

public class Browser
extends Object

Find and start a local browser.

Author:
Dirk Plate

Constructor Summary
Browser()
           
 
Method Summary
static void displayURL(String url)
          Show the url in a local browser.
static void init()
          Find local browsers.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Browser

public Browser()
Method Detail

init

public static void init()
Find local browsers. The method must be called before calling displayURL!

See Also:
displayURL(String)

displayURL

public static void displayURL(String url)
                       throws IOException
Show the url in a local browser. Call init before!

Parameters:
url - The URL to show in a local browser
Throws:
IOException - Thrown if local browser couldn't be started
See Also:
init()