net.imagej.launcher
Class RemoteUpdater

java.lang.Object
  extended by net.imagej.launcher.RemoteUpdater

public class RemoteUpdater
extends Object

Runs the ImageJ updater via Javascript from the update site.

The ImageJ updater has a convenient bootstrap Javascript that allows launching the updater via jrunscript -- or from the ImageJ launcher, e.g. when the ImageJ main class could not be loaded.

Author:
Johannes Schindelin

Field Summary
static String BOOTSTRAP_REMOTE_URL
           
static String JS_REMOTE_URL
           
 
Constructor Summary
RemoteUpdater()
           
 
Method Summary
static boolean runRemote(Throwable cause)
          Runs the ImageJ updater via the bootstrap.js script, hosted on the main update site.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOOTSTRAP_REMOTE_URL

public static final String BOOTSTRAP_REMOTE_URL
See Also:
Constant Field Values

JS_REMOTE_URL

public static final String JS_REMOTE_URL
See Also:
Constant Field Values
Constructor Detail

RemoteUpdater

public RemoteUpdater()
Method Detail

runRemote

public static boolean runRemote(Throwable cause)
Runs the ImageJ updater via the bootstrap.js script, hosted on the main update site.

Parameters:
cause - the reason why the ImageJ updater needs to be called, or null
Returns:
whether the script was started successfully


Copyright © 2009–2016 ImageJ. All rights reserved.