public final class LibraryChecker extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LibraryChecker.Library
List of possible libraries for which to check.
|
Modifier and Type | Field and Description |
---|---|
static String |
IMAGEJ_MSG
Message to be displayed if ImageJ is too old for Bio-Formats plugins.
|
static String |
IMAGEJ_VERSION
Minimum version of ImageJ necessary for Bio-Formats plugins.
|
static String |
URL_BF_SOFTWARE
URL for Bio-Formats web page.
|
Modifier | Constructor and Description |
---|---|
private |
LibraryChecker() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkClass(String className)
Checks whether the given class is available.
|
static boolean |
checkImageJ()
Checks whether ImageJ is new enough for the Bio-Formats plugins.
|
static boolean |
checkImageJ(String target,
String msg)
Returns true the current ImageJ version is greater than or equal to the
specified version.
|
static boolean |
checkImageJ(String target,
String msg,
String title)
Returns true the current ImageJ version is greater than or equal to the
specified version.
|
static boolean |
checkJava()
Checks for a new enough version of the Java Runtime Environment.
|
static void |
checkLibrary(LibraryChecker.Library library,
HashSet<String> missing)
Checks for a required library.
|
static void |
checkLibrary(String className,
String jarFile,
HashSet<String> missing)
Checks whether the given class is available; if not,
adds the specified JAR file name to the hash set
(presumably to report it missing to the user).
|
static boolean |
checkMissing(HashSet<String> missing)
Reports missing libraries in the given hash set to the user.
|
public static final String IMAGEJ_VERSION
public static final String IMAGEJ_MSG
public static final String URL_BF_SOFTWARE
public static boolean checkClass(String className)
public static void checkLibrary(LibraryChecker.Library library, HashSet<String> missing)
public static void checkLibrary(String className, String jarFile, HashSet<String> missing)
public static boolean checkJava()
public static boolean checkImageJ()
public static boolean checkImageJ(String target, String msg)
public static boolean checkImageJ(String target, String msg, String title)
Copyright © 2016 Open Microscopy Environment