接口的使用
bsh.ConsoleInterface
使用ConsoleInterface的程序包
-
bsh中ConsoleInterface的使用
实现ConsoleInterface的bsh中的类参数类型为ConsoleInterface的bsh中的方法修饰符和类型方法说明void
Interpreter.setConsole
(ConsoleInterface console) Attach a console Note: this method is incomplete.参数类型为ConsoleInterface的bsh中的构造器限定符构造器说明Interpreter
(ConsoleInterface console) Construct a new interactive interpreter attached to the specified console.Interpreter
(ConsoleInterface console, NameSpace globalNameSpace) Construct a new interactive interpreter attached to the specified console using the specified parent namespace. -
bsh.util中ConsoleInterface的使用
修饰符和类型接口说明interface
Additional capabilities of an interactive console for BeanShell.实现ConsoleInterface的bsh.util中的类修饰符和类型类说明class
An old AWT based console for BeanShell.class
A JFC/Swing based console for the BeanShell desktop.