public class Browser
extends java.lang.Object
Constructor and Description |
---|
Browser() |
Modifier and Type | Method and Description |
---|---|
static boolean |
openFile(java.lang.String filePath)
Causes the browser to open the specified file.
|
static void |
setBrowserPath(java.lang.String newBrowserPath)
Sets the path of the browser to be used.
|
static boolean |
visitURL(java.lang.String urlString)
Causes the browser to visit the specified URL.
|
public static void setBrowserPath(java.lang.String newBrowserPath)
newBrowserPath
- the new browser pathpublic static boolean openFile(java.lang.String filePath)
filePath
- the path of the file to openpublic static boolean visitURL(java.lang.String urlString)
urlString
- the URL to visit as a stringCopyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de