Java Class Load loadClass(String name)

Here you can find the source of loadClass(String name)

Description

load Class

License

Open Source License

Declaration

public static Class<?> loadClass(String name) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static Class<?> loadClass(String name) {
        try {/*from   ww  w .  ja va  2  s  . c o  m*/
            return Thread.currentThread().getContextClassLoader().loadClass(name);
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
            return null;
        }
    }
}

Related

  1. loadClass(String fqcn, Class... classes)
  2. loadClass(String h, String prefix)
  3. loadClass(String inClassName)
  4. loadClass(String name)
  5. loadClass(String name)
  6. loadClass(String name)
  7. loadClass(String name)
  8. loadClass(String name)
  9. loadClass(String name)