public class WebBrowserUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
WIN_FLAG |
static java.lang.String |
WIN_PATH |
Constructor and Description |
---|
WebBrowserUtils() |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
displayURL(java.lang.String url)
Display a file in the system browser.
|
protected static boolean |
isMacOSX() |
static boolean |
isWindowsPlatform()
Try to determine whether this application is running under Windows or some other platform by examining the "os.name" property.
|
static boolean |
openURL(VioletAppBase app,
java.net.URL url) |
protected static boolean |
showURL(java.net.URL url) |
public static final java.lang.String WIN_PATH
public static final java.lang.String WIN_FLAG
public static boolean openURL(VioletAppBase app, java.net.URL url)
protected static boolean showURL(java.net.URL url)
protected static boolean displayURL(java.lang.String url)
url
- the file's url (the url must start with either "http://" or "file://").public static boolean isWindowsPlatform()
protected static boolean isMacOSX()
Copyright © 2010-2014 Pacific Biosciences. All Rights Reserved.