public class Browser extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
openFile(File file)
Display a file in the system browser.
|
static void |
openFile(String pathname)
Display a file in the system browser.
|
static void |
openURL(String url)
Display a URL in the system browser.
|
public static void openFile(String pathname)
pathname - a relative or absolute path designating the file to
displaypublic static void openFile(File file)
file - the file to displaypublic static void openURL(String url)
url - the url to display