Package edu.umd.cs.findbugs.util
Class LaunchBrowser
java.lang.Object
edu.umd.cs.findbugs.util.LaunchBrowser
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static boolean
(package private) static Process
launchViaExec
(URL url) static boolean
showDocument
(URL url) attempt to show the given URL.(package private) static boolean
(package private) static boolean
showDocumentViaExec
(URL url) (package private) static void
viaDesktop
(URI u) (package private) static boolean
-
Field Details
-
validExec
-
execCommand
-
launchViaExec
public static final boolean launchViaExec -
desktopObject
-
desktopBrowseMethod
-
launchViaExecFailed
private static boolean launchViaExecFailed -
DEBUG
static boolean DEBUG -
desktopException
-
-
Constructor Details
-
LaunchBrowser
public LaunchBrowser()
-
-
Method Details
-
desktopFeasible
static boolean desktopFeasible() -
webstartFeasible
static boolean webstartFeasible() -
showDocumentViaDesktop
-
viaDesktop
-
showDocumentViaExec
-
launchViaExec
- Throws:
IOException
-
showDocument
attempt to show the given URL. will first attempt via the JNLP api, then will try showViaExec().- Parameters:
url
- the URL- Returns:
- true on success
-