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, getPlatformService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isTarget, javaVendor, javaVersion, osArch, osName, osVersion, registerAppMenus
dispose
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 © 2015–2022 SciJava. All rights reserved.