org.edna.pydev.extensions.utils
Class InterpreterUtils

java.lang.Object
  extended by org.edna.pydev.extensions.utils.InterpreterUtils

public class InterpreterUtils
extends java.lang.Object

InterpreterUtils

Author:
gerring

Constructor Summary
InterpreterUtils()
           
 
Method Summary
static void createJythonInterpreter(java.lang.String name, org.eclipse.core.runtime.IProgressMonitor mon)
          We programmatically create a Jython Interpreter so that the user does not have to.
static void createPythonInterpreter(java.lang.String name, org.eclipse.core.runtime.IProgressMonitor monitor)
          Creates a Python interpreter by attempting to read where the python command being used originates.
static void createPythonInterpreter(java.lang.String name, java.lang.String interpreterExePath, org.eclipse.core.runtime.IProgressMonitor mon)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterpreterUtils

public InterpreterUtils()
Method Detail

createPythonInterpreter

public static void createPythonInterpreter(java.lang.String name,
                                           org.eclipse.core.runtime.IProgressMonitor monitor)
                                    throws java.lang.Exception
Creates a Python interpreter by attempting to read where the python command being used originates.

Parameters:
name -
monitor -
Throws:
java.lang.Exception

createPythonInterpreter

public static void createPythonInterpreter(java.lang.String name,
                                           java.lang.String interpreterExePath,
                                           org.eclipse.core.runtime.IProgressMonitor mon)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

createJythonInterpreter

public static void createJythonInterpreter(java.lang.String name,
                                           org.eclipse.core.runtime.IProgressMonitor mon)
                                    throws java.lang.Exception
We programmatically create a Jython Interpreter so that the user does not have to.

Throws:
java.lang.Exception