public final class LibraryChecker
extends java.lang.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 java.lang.String | 
IMAGEJ_MSG
Message to be displayed if ImageJ is too old for Bio-Formats plugins. 
 | 
static java.lang.String | 
IMAGEJ_VERSION
Minimum version of ImageJ necessary for Bio-Formats plugins. 
 | 
static java.lang.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(java.lang.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(java.lang.String target,
           java.lang.String msg)
Returns true the current ImageJ version is greater than or equal to the
 specified version. 
 | 
static boolean | 
checkImageJ(java.lang.String target,
           java.lang.String msg,
           java.lang.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,
            java.util.HashSet<java.lang.String> missing)
Checks for a required library. 
 | 
static void | 
checkLibrary(java.lang.String className,
            java.lang.String jarFile,
            java.util.HashSet<java.lang.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(java.util.HashSet<java.lang.String> missing)
Reports missing libraries in the given hash set to the user. 
 | 
public static final java.lang.String IMAGEJ_VERSION
public static final java.lang.String IMAGEJ_MSG
public static final java.lang.String URL_BF_SOFTWARE
public static boolean checkClass(java.lang.String className)
public static void checkLibrary(LibraryChecker.Library library, java.util.HashSet<java.lang.String> missing)
public static void checkLibrary(java.lang.String className,
                                java.lang.String jarFile,
                                java.util.HashSet<java.lang.String> missing)
public static boolean checkJava()
public static boolean checkImageJ()
public static boolean checkImageJ(java.lang.String target,
                                  java.lang.String msg)
public static boolean checkImageJ(java.lang.String target,
                                  java.lang.String msg,
                                  java.lang.String title)
public static boolean checkMissing(java.util.HashSet<java.lang.String> missing)
Copyright © 2022 Open Microscopy Environment