public interface InterpreterDriver
| Modifier and Type | Interface and Description |
|---|---|
static class |
InterpreterDriver.InterpreterException
Nested class for wrapping the exception throw by underlying
interpreter while executing scripts
|
| Modifier and Type | Method and Description |
|---|---|
void |
executeScript(SessionPanel session,
String script)
Execute a script string.
|
void |
executeScriptFile(SessionPanel session,
String scriptFile)
Execute a script file.
|
void |
executeScriptFile(String scriptFile)
Execute a script file.
|
String[] |
getSupportedExtensions()
Get the extension for supported extensions by this driver
|
String[] |
getSupportedLanguages()
Get the langauges for supported extensions by this driver
|
void executeScript(SessionPanel session, String script) throws InterpreterDriver.InterpreterException
session - a session objectscript - script a string to be interpretedInterpreterDriver.InterpreterException - which wraps the exception throw by underlying
interpretervoid executeScriptFile(SessionPanel session, String scriptFile) throws InterpreterDriver.InterpreterException
session - a session objectscriptFile - script a name of file to be interpretedInterpreterDriver.InterpreterException - which wraps the exception throw by underlying
interpretervoid executeScriptFile(String scriptFile) throws InterpreterDriver.InterpreterException
scriptFile - a name of file to be interpretedInterpreterDriver.InterpreterException - which wraps the exception throw by underlying
interpreterString[] getSupportedExtensions()
String[] getSupportedLanguages()
Copyright © 2018. All rights reserved.