ca.nengo.util
Class Environment
java.lang.Object
ca.nengo.util.Environment
public abstract class Environment
- extends java.lang.Object
Provides information about the context in which the code is running.
- Author:
- Bryan Tripp
|
Field Summary |
static java.lang.String |
USER_INTERFACE
Name of system property underlying inUserInterface() |
static java.lang.String |
WORKING_DIRECTORY
Name of String property that contains path of user's working directory |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
USER_INTERFACE
public static java.lang.String USER_INTERFACE
- Name of system property underlying inUserInterface()
WORKING_DIRECTORY
public static java.lang.String WORKING_DIRECTORY
- Name of String property that contains path of user's working directory
Environment
public Environment()
inUserInterface
public static boolean inUserInterface()
- Returns:
- True if the system is running within a user interface (default is false;
can be configured with system property "user-interface" = "true")
setUserInterface
public static void setUserInterface(boolean inUI)