Package com.github.arangobee.utils
Class ClassUtils
java.lang.Object
com.github.arangobee.utils.ClassUtils
Miscellaneous class utility methods.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisPresent(String className, ClassLoader classLoader) Determine whether theClassidentified by the supplied name is present and can be loaded.
-
Constructor Details
-
ClassUtils
public ClassUtils()
-
-
Method Details
-
isPresent
Determine whether theClassidentified by the supplied name is present and can be loaded. Will returnfalseif either the class or one of its dependencies is not present or cannot be loaded.- Parameters:
className- the name of the class to checkclassLoader- the class loader to use (may benull, which indicates the default class loader)- Returns:
- whether the specified class is present
-