.. java:import:: ch.epfl.leb.sass.ijplugin Model .. java:import:: ch.epfl.leb.sass.server RPCServer .. java:import:: bsh EvalError .. java:import:: bsh Interpreter .. java:import:: java.io File .. java:import:: java.io FileInputStream .. java:import:: java.io FileNotFoundException .. java:import:: java.io ByteArrayOutputStream .. java:import:: java.io IOException .. java:import:: java.io InputStream .. java:import:: java.io InputStreamReader .. java:import:: java.io PrintStream .. java:import:: java.net URL .. java:import:: java.util.logging Level .. java:import:: java.util.logging Logger .. java:import:: org.apache.commons.cli CommandLine .. java:import:: org.apache.commons.cli CommandLineParser .. java:import:: org.apache.commons.cli DefaultParser .. java:import:: org.apache.commons.cli HelpFormatter .. java:import:: org.apache.commons.cli Options .. java:import:: org.apache.commons.cli ParseException CommandLineInterface ==================== .. java:package:: ch.epfl.leb.sass.commandline :noindex: .. java:type:: public final class CommandLineInterface Main class of the project, launches the BeanShell script interface. :author: Marcel Stefko Methods ------- constructOptions ^^^^^^^^^^^^^^^^ .. java:method:: public static Options constructOptions() :outertype: CommandLineInterface :return: all understood options for ALICA execution main ^^^^ .. java:method:: public static void main(String[] args) :outertype: CommandLineInterface Shows help, launches the interpreter and executes scripts according to input args. :param args: input arguments printWelcomeText ^^^^^^^^^^^^^^^^ .. java:method:: public static void printWelcomeText(PrintStream out) :outertype: CommandLineInterface Reads the welcome_text file and prints it to a PrintStream. :param out: stream to print to