com.adventnet.utils.agent
Class Browser

java.lang.Object
  extended by com.adventnet.utils.agent.Browser

public class Browser
extends java.lang.Object

To open Html browser from the Java Applications.


Nested Class Summary
(package private)  class Browser.BrowserInvoker
           
 
Field Summary
 java.lang.String UNIX_PATH
          The Default Constuctor.
 
Constructor Summary
Browser()
           
 
Method Summary
 void displayURL(java.lang.String url)
           
 void setUnixPath(java.lang.String upath)
          Display a file in the system browser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNIX_PATH

public java.lang.String UNIX_PATH
The Default Constuctor.

Constructor Detail

Browser

public Browser()
Method Detail

setUnixPath

public void setUnixPath(java.lang.String upath)
Display a file in the system browser. If you want to display a file, you must include the absolute path name.

Parameters:
url - the file's url (the url must start with either "http://" or "file://").

displayURL

public void displayURL(java.lang.String url)