org.scijava.platform
Class DefaultPlatform
java.lang.Object
org.scijava.platform.AbstractPlatform
org.scijava.platform.DefaultPlatform
- All Implemented Interfaces:
- Disposable, Platform, SciJavaPlugin, SingletonPlugin
public class DefaultPlatform
- extends AbstractPlatform
A platform implementation for default handling of platform issues.
- Author:
- Curtis Rueden, Johannes Schindelin
Method Summary |
void |
open(URL url)
Falls back to calling known browsers. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPlatform
public DefaultPlatform()
open
public void open(URL url)
throws IOException
- Falls back to calling known browsers.
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.
- Throws:
IOException
Copyright © 2009–2014 SciJava. All rights reserved.