public class BrowserControl extends Object
| Constructor and Description |
|---|
BrowserControl() |
| Modifier and Type | Method and Description |
|---|---|
static void |
displayURL(String url)
Shows a url in the default browser or open the default mail client to
send an e-mail.
|
static boolean |
isWindowsPlatform()
Try to determine whether this application is running under Windows or
some other platform by examing the "os.name" property.
|
public static void displayURL(String url)
url - The URL of the file or the e-mail addressjava.awt.Desktop is present and try to open URL/open
mail client with method browse/mail of class
java.awtDesktop. In other case try to open url with
runtime object.public static boolean isWindowsPlatform()
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.