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 SummaryModifier 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- 
areRequirementsAvailablepublic static boolean areRequirementsAvailable()Checks if the required libraries are available.- Returns:
- trueif the libraries are available,- falseotherwise.
 
- 
isOMEROGatewayAvailablepublic static boolean isOMEROGatewayAvailable()Checks if the omero-gateway is available.- Returns:
- trueif Gateway is available,- falseotherwise.
 
- 
isOMEROModelAvailablepublic static boolean isOMEROModelAvailable()Checks if the omero-model is available.- Returns:
- trueif IObject is available,- falseotherwise.
 
- 
isOMEROBlitzAvailablepublic static boolean isOMEROBlitzAvailable()Checks if OMERO Blitz is available.- Returns:
- trueif OMEROMetadataStoreClient is available,- falseotherwise.
 
- 
isOMEXMLAvailablepublic static boolean isOMEXMLAvailable()Checks if the omero-model is available.- Returns:
- trueif IObject is available,- falseotherwise.
 
- 
isOMECommonAvailablepublic static boolean isOMECommonAvailable()Checks if ome-common is available.- Returns:
- trueif DataTools is available,- falseotherwise.
 
- 
isFormatsAPIAvailablepublic static boolean isFormatsAPIAvailable()Checks if formats-api is available.- Returns:
- trueif DefaultMetadataOptions is available,- falseotherwise.
 
- 
checkClassChecks whether the given class is available.- Parameters:
- className- The name of the class.
- Returns:
- trueif the class was found,- falseotherwise.
 
 
-