public class ClassFactory extends java.lang.Object implements ClassFinder
KEY
限定符和类型 | 方法和说明 |
---|---|
void |
addFinder(ClassFinder finder) |
java.lang.Class<?> |
classForName(java.lang.String className) |
void |
clear() |
static ClassFactory |
getInstance() |
public static ClassFactory getInstance()
public void addFinder(ClassFinder finder)
public void clear()
public java.lang.Class<?> classForName(java.lang.String className) throws java.lang.ClassNotFoundException
classForName
在接口中 ClassFinder
java.lang.ClassNotFoundException