Class ClassUtils

java.lang.Object
com.github.arangobee.utils.ClassUtils

public class ClassUtils extends Object
Miscellaneous class utility methods.
  • Constructor Details

    • ClassUtils

      public ClassUtils()
  • Method Details

    • isPresent

      public static boolean isPresent(String className, ClassLoader classLoader)
      Determine whether the Class identified by the supplied name is present and can be loaded. Will return false if either the class or one of its dependencies is not present or cannot be loaded.
      Parameters:
      className - the name of the class to check
      classLoader - the class loader to use (may be null, which indicates the default class loader)
      Returns:
      whether the specified class is present