org.jsurveylib.model.script.interpreter.commands
Class LoadAllCommands

java.lang.Object
  extended by org.jsurveylib.model.script.interpreter.commands.LoadAllCommands

public class LoadAllCommands
extends java.lang.Object

FOR INTERNAL USE ONLY.

I may be wrong but it seems that Beanshell cannot load command files if they reside in a jar. This class solves this problem by calling getResourceAsStream on all the Beanshell command files and evaluates them through the interpreter.

Copyright (c)2007, Daniel Kaplan

Since:
7.10.12
Author:
Daniel Kaplan

Method Summary
static void invoke(bsh.Interpreter env)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

invoke

public static void invoke(bsh.Interpreter env)