|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.python.RunJPython
public class RunJPython
A stand-alone wrapper for launching JPython code.
Field Summary | |
---|---|
protected Object |
python
PythonInterpreter object |
Constructor Summary | |
---|---|
RunJPython()
constructs a RunJPython object |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Object python
Constructor Detail |
---|
public RunJPython() throws VisADException
VisADException
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |