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
VisADException
public Object eval(String line) throws VisADException
VisADException
public void exec(String line) throws VisADException
VisADException
public void execfile(String filename) throws VisADException
VisADException
public void set(String name, Object value) throws VisADException
VisADException
public Object get(String name) throws VisADException
VisADException
public static void main(String[] args) throws VisADException
VisADException
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.