类的使用
bsh.ClassPathException
使用ClassPathException的程序包
-
bsh.classpath中ClassPathException的使用
修饰符和类型方法说明static BshClassPath
BshClassPath.getBootClassPath()
Get the boot path including the lib/rt.jar if possible.BshClassPath.getClassNameByUnqName
(String name) Support for super import "*"; Get the full name associated with the unqualified name in this classpath.ClassManagerImpl.getClassNameByUnqName
(String name) Return the name or null if none is found, Throw an ClassPathException containing detail if name is ambigous.ClassManagerImpl.getClassPath()
Get the full blown classpath.static BshClassPath
BshClassPath.getUserClassPath()
A BshClassPath initialized to the user path from java.class.pathstatic URL[]
BshClassPath.getUserClassPathComponents()
void
ClassManagerImpl.reloadAllClasses()
Overlay the entire path with a new class loader.void
ClassManagerImpl.reloadClasses
(String[] classNames) Reloading classes means creating a new classloader and using it whenever we are asked for classes in the appropriate space.void
ClassManagerImpl.reloadPackage
(String pack) Reload all classes in the specified package: e.g. -
bsh.util中ClassPathException的使用
抛出ClassPathException的bsh.util中的方法