Loads the specified class.
public static Class classForName( Class cls, String name )
cls
A class that was loaded with the same namespace as the class you want to load.
name
The name of the class to be loaded.
Returns a java.lang.Class object for the specified class name.
Exceptions
java.lang.ClassNotFoundException thrown if the class could not be loaded.
This method loads the class using the class loader of cls. Use this method instead of java.lang.Class.forName to ensure that the correct class loader is used.