|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfable.python.jep.PythonInfo
public class PythonInfo
A class to get various kinds of information about Python running from Jep.
| Constructor Summary | |
|---|---|
PythonInfo()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getPathFromEnvironment()
Gets the PATH from the environment as a list with one line for each element in the path. |
static java.lang.String |
getPathFromEnvironment(java.lang.String linePrefix)
Gets the PATH from the environment as a list with one line for each element in the path. |
static java.lang.String |
getPythonInfo()
Gets information about Python. |
static java.lang.String |
getPythonPathFromEnvironment()
Gets the PYTHONPATH from the environment as a list with one line for each element in the path. |
static java.lang.String |
getPythonPathFromEnvironment(java.lang.String linePrefix)
Gets the PYTHONPATH from the environment as a list with one line for each element in the path. |
static java.lang.String |
getPythonPathFromPython()
Gets the PYTHONPATH from Python, using Jep, as a list with one line for each element in the path. |
static java.lang.String |
getPythonSysValue(java.lang.String linePrefix,
java.lang.String var)
Gets a variable from sys in Python, using Jep. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PythonInfo()
| Method Detail |
|---|
public static java.lang.String getPythonInfo()
public static java.lang.String getPythonSysValue(java.lang.String linePrefix,
java.lang.String var)
var - The variable (xxx in sys.xxx).
public static java.lang.String getPythonPathFromEnvironment()
public static java.lang.String getPythonPathFromEnvironment(java.lang.String linePrefix)
linePrefix - String to add before each line in the path list.
public static java.lang.String getPathFromEnvironment()
public static java.lang.String getPathFromEnvironment(java.lang.String linePrefix)
linePrefix - String to add before each line in the path list.
public static java.lang.String getPythonPathFromPython()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||