public class BareBonesBrowserLaunch
extends java.lang.Object
String
url = "http://www.google.com/";
BareBonesBrowserLaunch.openURL(url);
Latest Version: http://www.centerkey.com/java/browser| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FILE_PREFIX |
| Constructor and Description |
|---|
BareBonesBrowserLaunch() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isMac() |
static boolean |
isUnix() |
static boolean |
isWindows() |
static void |
openFile(java.lang.String filePath)
Opens the specified file path using the OS's preferred application binding
|
static void |
openURL(java.lang.String url)
Opens the specified web page in a web browser
|
public static final java.lang.String FILE_PREFIX
public static void openURL(java.lang.String url)
url - An absolute URL of a web page (ex: "http://www.google.com/")public static void openFile(java.lang.String filePath)
filePath - to open on host OS.public static boolean isWindows()
public static boolean isMac()
public static boolean isUnix()