|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.utils.Config
public class Config
This class holds various configuration parameters / static methods that returns path to pogamutPlatform dir, etc.
Field Summary | |
---|---|
static boolean |
LOG_TO_CONSOLE
Whether to log everything to console as well, if false then the RootLogger is hacked and ConsoleHandler is removed from it. |
protected static java.lang.String |
PROJECTS_DIR
|
static java.lang.String |
PYTHON_PATH
Name of the system property where we store the directory of directory with python modules for Pogamut 2. |
static java.lang.String |
PYTHON_PATH_DELIMITER
Python path delimiter for python.path |
Constructor Summary | |
---|---|
private |
Config()
SINGLETON |
Method Summary | |
---|---|
static java.lang.String |
fixPythonPath(java.lang.String path)
Python needs every backslash to be doubled ... this will do it. |
static java.lang.String |
getJythonJarPath()
|
static java.lang.String |
getPlatformPath()
|
static java.lang.String |
getProjectsPath()
|
static java.lang.String |
getPythonModulePath()
|
static void |
stopLoggingToConsole()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean LOG_TO_CONSOLE
public static final java.lang.String PYTHON_PATH
public static final java.lang.String PYTHON_PATH_DELIMITER
protected static java.lang.String PROJECTS_DIR
Constructor Detail |
---|
private Config()
Method Detail |
---|
public static void stopLoggingToConsole()
public static java.lang.String getPlatformPath()
public static java.lang.String getProjectsPath()
public static java.lang.String getPythonModulePath()
public static java.lang.String getJythonJarPath()
public static java.lang.String fixPythonPath(java.lang.String path)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |