public class DefaultPlatform extends AbstractPlatform
| Constructor and Description |
|---|
DefaultPlatform() |
| Modifier and Type | Method and Description |
|---|---|
void |
open(URL url)
Falls back to calling known browsers.
|
configure, getPlatformServiceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisTarget, javaVendor, javaVersion, osArch, osName, osVersion, registerAppMenusdisposepublic void open(URL url) throws IOException
Based on BareBonesBrowserLaunch.
The utility 'xdg-open' launches the URL in the user's preferred browser, therefore we try to use it first, before trying to discover other browsers.
IOExceptionCopyright © 2009–2018 SciJava. All rights reserved.