public class RunJPython extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Object |
python
PythonInterpreter object
|
| Constructor and Description |
|---|
RunJPython()
constructs a RunJPython object
|
| Modifier and Type | Method and Description |
|---|---|
Object |
eval(String line)
evaluates a line of JPython code
|
void |
exec(String line)
executes a line of JPython code
|
void |
execfile(String filename)
executes the document as JPython source code
|
Object |
get(String name)
gets a JPython variable's value
|
static void |
main(String[] args)
launches a JPython script
|
void |
set(String name,
Object value)
sets a JPython variable's value
|
protected Object python
public RunJPython()
throws VisADException
VisADExceptionpublic Object eval(String line) throws VisADException
VisADExceptionpublic void exec(String line) throws VisADException
VisADExceptionpublic void execfile(String filename) throws VisADException
VisADExceptionpublic void set(String name, Object value) throws VisADException
VisADExceptionpublic Object get(String name) throws VisADException
VisADExceptionpublic static void main(String[] args) throws VisADException
VisADExceptionCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.