Class ClassLoadingUtil


  • public final class ClassLoadingUtil
    extends Object

    ClassLoadingUtil class.

    • Method Detail

      • loadClass

        public static Class<?> loadClass​(String className)
                                  throws ClassNotFoundException
        Loads the class by class name with the current threads context classloader. If there occurs an exception the class will be loaded by default classloader.
        Parameters:
        className - a String object.
        Returns:
        a Class object.
        Throws:
        ClassNotFoundException - if any.