public class JPythonInterpreterDriver extends Object implements InterpreterDriver
InterpreterDriver.InterpreterException| Modifier and Type | Method and Description |
|---|---|
void |
executeScript(SessionPanel session,
String script)
Execute a script string.
|
void |
executeScript(String script) |
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
|
static void |
main(String[] args) |
public void executeScript(SessionPanel session, String script) throws InterpreterDriver.InterpreterException
InterpreterDriverexecuteScript in interface InterpreterDriversession - a session objectscript - script a string to be interpretedInterpreterDriver.InterpreterException - which wraps the exception throw by underlying
interpreterpublic void executeScript(String script) throws InterpreterDriver.InterpreterException
public void executeScriptFile(SessionPanel session, String scriptFile) throws InterpreterDriver.InterpreterException
InterpreterDriverexecuteScriptFile in interface InterpreterDriversession - a session objectscriptFile - script a name of file to be interpretedInterpreterDriver.InterpreterException - which wraps the exception throw by underlying
interpreterpublic void executeScriptFile(String scriptFile) throws InterpreterDriver.InterpreterException
InterpreterDriverexecuteScriptFile in interface InterpreterDriverscriptFile - a name of file to be interpretedInterpreterDriver.InterpreterException - which wraps the exception throw by underlying
interpreterpublic String[] getSupportedExtensions()
InterpreterDrivergetSupportedExtensions in interface InterpreterDriverpublic String[] getSupportedLanguages()
InterpreterDrivergetSupportedLanguages in interface InterpreterDriverpublic static void main(String[] args)
Copyright © 2018. All rights reserved.