/** Reload the specified class, package name, or all classes if no name is given. e.g.
reloadClasses(); reloadClasses("mypackage.*"); reloadClasses(".*") // reload unpackaged classes reloadClasses("mypackage.MyClass")
See "Class Path Management"
@method void reloadClasses( [ package name ] )
*/
bsh.help.reloadClasses=
"usage: reloadClasses( String class | String package | String [] classes )";
import bsh.ClassPathException;
void reloadClasses( item )
{
this.bcm = this.caller.namespace.getClassManager();
try {
if ( item instanceof String [] )
bcm.reloadClasses( item );
else {
this.name = item;
if ( name.endsWith(".*" ) ) {
if ( name.equals(".*" ) )
this.pack = "