org.virbo.jythonsupport
Class JythonUtil

java.lang.Object
  extended by org.virbo.jythonsupport.JythonUtil

public class JythonUtil
extends java.lang.Object


Constructor Summary
JythonUtil()
           
 
Method Summary
static org.python.util.PythonInterpreter createInterpreter(boolean sandbox)
          create an interpretter object configured for Autoplot contexts: * QDataSets are wrapped so that operators are overloaded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JythonUtil

public JythonUtil()
Method Detail

createInterpreter

public static org.python.util.PythonInterpreter createInterpreter(boolean sandbox)
                                                           throws java.io.IOException
create an interpretter object configured for Autoplot contexts: * QDataSets are wrapped so that operators are overloaded. * a standard set of names are imported.

Parameters:
sandbox - limit symbols to safe symbols for server.
Returns:
PythonInterpreter ready for commands.
Throws:
java.io.IOException