Class LibraryChecker

java.lang.Object
fr.igred.omero.util.LibraryChecker

public final class LibraryChecker extends Object
Utility methods to check if required libraries/classes are available
  • Method Details

    • areRequirementsAvailable

      public static boolean areRequirementsAvailable()
      Checks if the required libraries are available.
      Returns:
      true if the libraries are available, false otherwise.
    • isOMEROGatewayAvailable

      public static boolean isOMEROGatewayAvailable()
      Checks if the omero-gateway is available.
      Returns:
      true if Gateway is available, false otherwise.
    • isOMEROModelAvailable

      public static boolean isOMEROModelAvailable()
      Checks if the omero-model is available.
      Returns:
      true if IObject is available, false otherwise.
    • isOMEROBlitzAvailable

      public static boolean isOMEROBlitzAvailable()
      Checks if OMERO Blitz is available.
      Returns:
      true if OMEROMetadataStoreClient is available, false otherwise.
    • isOMEXMLAvailable

      public static boolean isOMEXMLAvailable()
      Checks if the omero-model is available.
      Returns:
      true if IObject is available, false otherwise.
    • isOMECommonAvailable

      public static boolean isOMECommonAvailable()
      Checks if ome-common is available.
      Returns:
      true if DataTools is available, false otherwise.
    • isFormatsAPIAvailable

      public static boolean isFormatsAPIAvailable()
      Checks if formats-api is available.
      Returns:
      true if DefaultMetadataOptions is available, false otherwise.
    • checkClass

      public static boolean checkClass(String className)
      Checks whether the given class is available.
      Parameters:
      className - The name of the class.
      Returns:
      true if the class was found, false otherwise.