Java Get Class By String
//get an according class variable
String className = "MyClass";
Class<?> cls = Class.forName(className);
//create instance of that class
Object myInstance = cls.newInstance();
Hurt Hamerkop