|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static String |
BROWSER_DEFAULT
Identifier for the system's default browser. |
static String |
PROTOCOL_FILE
|
static String |
PROTOCOL_HTTP
|
static String |
PROTOCOL_MAILTO
|
Method Summary | |
List |
getBrowserList()
Returns a list of browsers to be used for browser targetting. |
void |
initialize()
Performs any initialization needed for the particular O/S. |
void |
openUrl(String urlString)
Opens the passed url in the system's default browser. |
void |
openUrl(String browser,
String urlString)
Allows user to target a specific browser. |
Field Detail |
public static final String PROTOCOL_HTTP
public static final String PROTOCOL_FILE
public static final String PROTOCOL_MAILTO
public static final String BROWSER_DEFAULT
Method Detail |
public void initialize() throws BrowserLaunchingInitializingException
BrowserLaunchingInitializingException
public void openUrl(String urlString) throws UnsupportedOperatingSystemException, BrowserLaunchingExecutionException, BrowserLaunchingInitializingException
urlString
- String
UnsupportedOperatingSystemException
BrowserLaunchingExecutionException
BrowserLaunchingInitializingException
public void openUrl(String browser, String urlString) throws UnsupportedOperatingSystemException, BrowserLaunchingExecutionException, BrowserLaunchingInitializingException
getBrowserList
method.
If the call to the requested browser fails, the code will fail over to the default browser.
browser
- StringurlString
- String
UnsupportedOperatingSystemException
BrowserLaunchingExecutionException
BrowserLaunchingInitializingException
public List getBrowserList()
BROWSER_DEFAULT
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |