BBjInterpreter
Description
In BBj 25.03 and higher, BBjInterpreter provides methods for executing Java code in the BBjinterpreter context and interacting with interpreter-level functionality.
Creation
Obtain a BBjInterpreter object through the following BBjAPI object method:
|
Return Value |
Method |
|---|---|
|
BBjInterpreter |
getInterpreter() |
Methods of BBjInterpreter
|
Return Value |
Method |
|---|---|
| Future<T> | executeInInterpreterContext(Callable<T> p_callable) |
| boolean | isInterpreterContext() |
| void | processEvents() |
| void | processPendingEvents() |
| void | waitVerb(double p_fractionalSeconds) |
| Object | eval(String p_cmd) |
| List<Object> | call(String p_program, Object... p_args) |
| void |
release() release(int p_exitValue) |
| void | setEsc(Object p_obj, String p_method) |
| void | setErr(Object p_obj, String p_method) |
See Also
BBj Object Creation and Assignment
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.