private BshMethod loadScriptedCommand(InputStream in,String name,Class[] argTypes,String resourcePath,Interpreter interpreter) throws UtilEvalError {
  try {
    interpreter.eval(new InputStreamReader(in),this,resourcePath);
  }
 catch (  EvalError e) {
    Interpreter.debug(e.toString());
    throw new UtilEvalError("Error loading script: " + e.getMessage());
  }
  BshMethod meth=getMethod(name,argTypes);
  return meth;
}

private BshMethod loadScriptedCommand ( InputStream in , String name , Class [ ] argTypes , String resourcePath , Interpreter interpreter ) throws UtilEvalError { try { interpreter . eval ( new InputStreamReader ( in ) , this , resourcePath ) ; } catch ( EvalError e ) { Interpreter . debug ( e . toString ( ) ) ; throw new UtilEvalError ( "Error loading script: " + e . getMessage ( ) ) ; } BshMethod meth = getMethod ( name , argTypes ) ; return meth ; }
load a command script from the input stream and find the bshmethod in the target namespace .
