com.isti.util
Interface ILaunchBrowser

All Known Implementing Classes:
BasicLaunchBrowser, LaunchBrowser

public interface ILaunchBrowser

Interface LaunchBrowser contains methods for launching browser windows.


Field Summary
static java.lang.String NO_ERROR
          No error message.
 
Method Summary
 java.lang.String getErrorMessage()
          Returns message string for last error (or 'No error' if none).
 boolean showURL(java.lang.String urlStr)
          Displays the given URL address string in a browser window.
 boolean showURL(java.lang.String urlStr, java.lang.String titleStr)
          Displays the given URL address string in a browser window.
 

Field Detail

NO_ERROR

static final java.lang.String NO_ERROR
No error message.

See Also:
Constant Field Values
Method Detail

getErrorMessage

java.lang.String getErrorMessage()
Returns message string for last error (or 'No error' if none).

Returns:
message string for last error (or 'No error' if none).

showURL

boolean showURL(java.lang.String urlStr)
Displays the given URL address string in a browser window.

Parameters:
urlStr - a string containing the URL.
Returns:
true if successful; false if error (in which case an error message may be fetched via the 'getErrorMessage()' method).

showURL

boolean showURL(java.lang.String urlStr,
                java.lang.String titleStr)
Displays the given URL address string in a browser window.

Parameters:
urlStr - a string containing the URL.
titleStr - a string used to select a target browser window or null if none.
Returns:
true if successful; false if error (in which case an error message may be fetched via the 'getErrorMessage()' method).