Java Class Load classForName(final String theClassName)

Here you can find the source of classForName(final String theClassName)

Description

Returns the class for a name.

License

Apache License

Exception

Parameter Description
ClassNotFoundException an exception

Declaration

public static Class<?> classForName(final String theClassName) throws ClassNotFoundException 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    /** Returns the class for a name.
     * @throws ClassNotFoundException */
    public static Class<?> classForName(final String theClassName) throws ClassNotFoundException {
        // TODO Use ClassNameConverter instead
        return Class.forName(theClassName);
    }/*from  w  w w.j ava2s.  c o  m*/
}

Related

  1. classForName(final String className)
  2. classForName(final String clsName)
  3. classForName(String className)
  4. classForName(String className)
  5. ClassForName(String className)
  6. classForName(String className)