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, dispose, getPlatformService, isTarget, javaVendor, javaVersion, osArch, osName, osVersion, registerAppMenuspublic 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–2016 SciJava. All rights reserved.