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 ProcesslaunchViaExec(URL url) static booleanshowDocument(URL url) attempt to show the given URL.(package private) static boolean(package private) static booleanshowDocumentViaExec(URL url) (package private) static voidviaDesktop(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
-