Java Class Load loadClass(String className, ClassLoader cl)

Here you can find the source of loadClass(String className, ClassLoader cl)

Description

load Class

License

Open Source License

Declaration

private static Class<?> loadClass(String className, ClassLoader cl) throws LinkageError 

Method Source Code

//package com.java2s;
// This copy of Ice is licensed to you under the terms described in the

public class Main {
    private static Class<?> loadClass(String className, ClassLoader cl) throws LinkageError {
        if (cl != null) {
            try {
                return cl.loadClass(className);
            } catch (ClassNotFoundException ex) {
                // Ignore
            }// ww  w .  ja  v  a  2  s .  co m
        }

        return null;
    }
}

Related

  1. loadClass(String classname, Class clazz)
  2. loadClass(String className, Class context, boolean checkParent)
  3. loadClass(String className, Class ofType)
  4. loadClass(String className, Class targetType, ClassLoader cl)
  5. loadClass(String className, Class type)
  6. loadClass(String className, ClassLoader classLoader)
  7. loadClass(String className, ClassLoader classLoader)
  8. loadClass(String className, ClassLoader classLoader)
  9. loadClass(String clazz, ClassLoader cl)