anecho.extranet
Class Bowsah

java.lang.Object
  extended by anecho.extranet.Bowsah

public class Bowsah
extends java.lang.Object

Bowsah is a small API to allow "platform independent" control of web browsers.


Constructor Summary
Bowsah(java.lang.String browser)
           
Bowsah(java.lang.String browser, boolean newBrowser)
           
Bowsah(java.lang.String browser, java.lang.String URL)
           
Bowsah(java.lang.String browser, java.lang.String URL, boolean newBrowser)
           
 
Method Summary
 void displayURL(java.lang.String url)
          Display this new "Location" in our browser
 java.lang.Process getProcess()
          This will return the Process that we are using for our browser
 void newBrowser(boolean newBrowser)
          Toggle whether a request will start a new browser if one doesn't exist
static void openURL(java.lang.String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bowsah

public Bowsah(java.lang.String browser)
Parameters:
browser -

Bowsah

public Bowsah(java.lang.String browser,
              boolean newBrowser)
Parameters:
browser -
newBrowser -

Bowsah

public Bowsah(java.lang.String browser,
              java.lang.String URL)
Parameters:
browser -
URL -

Bowsah

public Bowsah(java.lang.String browser,
              java.lang.String URL,
              boolean newBrowser)
Parameters:
browser -
URL -
newBrowser -
Method Detail

displayURL

public void displayURL(java.lang.String url)
Display this new "Location" in our browser

Parameters:
url -

openURL

public static void openURL(java.lang.String url)
Parameters:
url -

getProcess

public java.lang.Process getProcess()
This will return the Process that we are using for our browser

Returns:

newBrowser

public void newBrowser(boolean newBrowser)
Toggle whether a request will start a new browser if one doesn't exist

Parameters:
newBrowser -