Package fr.igred.omero.util
Class LibraryChecker
java.lang.Object
fr.igred.omero.util.LibraryChecker
Utility methods to check if required libraries/classes are available
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanChecks if the required libraries are available.static booleancheckClass(String className) Checks whether the given class is available.static booleanChecks if formats-api is available.static booleanChecks if ome-common is available.static booleanChecks if OMERO Blitz is available.static booleanChecks if the omero-gateway is available.static booleanChecks if the omero-model is available.static booleanChecks if the omero-model is available.
-
Method Details
-
areRequirementsAvailable
public static boolean areRequirementsAvailable()Checks if the required libraries are available.- Returns:
trueif the libraries are available,falseotherwise.
-
isOMEROGatewayAvailable
public static boolean isOMEROGatewayAvailable()Checks if the omero-gateway is available.- Returns:
trueif Gateway is available,falseotherwise.
-
isOMEROModelAvailable
public static boolean isOMEROModelAvailable()Checks if the omero-model is available.- Returns:
trueif IObject is available,falseotherwise.
-
isOMEROBlitzAvailable
public static boolean isOMEROBlitzAvailable()Checks if OMERO Blitz is available.- Returns:
trueif OMEROMetadataStoreClient is available,falseotherwise.
-
isOMEXMLAvailable
public static boolean isOMEXMLAvailable()Checks if the omero-model is available.- Returns:
trueif IObject is available,falseotherwise.
-
isOMECommonAvailable
public static boolean isOMECommonAvailable()Checks if ome-common is available.- Returns:
trueif DataTools is available,falseotherwise.
-
isFormatsAPIAvailable
public static boolean isFormatsAPIAvailable()Checks if formats-api is available.- Returns:
trueif DefaultMetadataOptions is available,falseotherwise.
-
checkClass
Checks whether the given class is available.- Parameters:
className- The name of the class.- Returns:
trueif the class was found,falseotherwise.
-