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, registerAppMenus
public 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.
IOException
Copyright © 2009–2015 SciJava. All rights reserved.