|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBrowserLaunching
Field Summary | |
---|---|
static java.lang.String |
BROWSER_DEFAULT
Identifier for the system's default browser. |
static java.lang.String |
PROTOCOL_FILE
|
static java.lang.String |
PROTOCOL_HTTP
|
static java.lang.String |
PROTOCOL_MAILTO
|
Method Summary | |
---|---|
java.util.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(java.lang.String urlString)
Opens the passed url in the system's default browser. |
void |
openUrl(java.lang.String browser,
java.lang.String urlString)
Allows user to target a specific browser. |
Field Detail |
---|
static final java.lang.String PROTOCOL_HTTP
static final java.lang.String PROTOCOL_FILE
static final java.lang.String PROTOCOL_MAILTO
static final java.lang.String BROWSER_DEFAULT
Method Detail |
---|
void initialize() throws BrowserLaunchingInitializingException
BrowserLaunchingInitializingException
void openUrl(java.lang.String urlString) throws UnsupportedOperatingSystemException, BrowserLaunchingExecutionException, BrowserLaunchingInitializingException
urlString
- String
UnsupportedOperatingSystemException
BrowserLaunchingExecutionException
BrowserLaunchingInitializingException
void openUrl(java.lang.String browser, java.lang.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
java.util.List getBrowserList()
BROWSER_DEFAULT
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |