public class ImageJUpdater extends Object implements UpdaterUI
Incidentally, this class can be used as an out-of-ImageJ entry point to the updater, as it does not *require* a StatusService to run.
Constructor and Description |
---|
ImageJUpdater() |
Modifier and Type | Method and Description |
---|---|
static boolean |
errorIfDebian()
If this seems to be the Debian packaged version of ImageJ, then produce an
error and return true.
|
static boolean |
errorIfNetworkInaccessible(LogService log)
If there is no network connection, then produce an error and return true.
|
static boolean |
isDebian()
This returns true if this seems to be the Debian packaged version of
ImageJ, or false otherwise.
|
static void |
main(String[] args) |
protected static boolean |
moveOutOfTheWay(File file) |
protected boolean |
overwriteWithUpdated(FilesCollection files,
FileObject file) |
void |
run() |
protected boolean overwriteWithUpdated(FilesCollection files, FileObject file)
public static boolean isDebian()
public static boolean errorIfDebian()
public static boolean errorIfNetworkInaccessible(LogService log)
protected static boolean moveOutOfTheWay(File file)
public static void main(String[] args)
Copyright © 2014–2022 ImageJ. All rights reserved.