|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.rice.cs.drjava.DrJava
public class DrJava
Startup class for DrJava consisting entirely of static members. The main method reads the .drjava file (creating one if none exists) to get the critical information required to start the main JVM for DrJava: (i) the location of tools.jar in the Java JDK installed on this machine (so DrJava can invoke the javac compiler stored in tools.jar) (ii) the argument string for invoking the main JVM (notably -X options used to determine maximum heap size, etc.)
Field Summary | |
---|---|
static File |
DEFAULT_PROPERTIES_FILE
Default properties file used by the configuration object, i.e. |
Constructor Summary | |
---|---|
DrJava()
|
Method Summary | |
---|---|
protected static void |
_saveConfig()
Saves the contents of the config file. |
static void |
cleanUp()
|
static void |
configureAndLoadDrJavaRoot(String[] args)
|
static FileConfiguration |
getConfig()
Returns the configuration object with all customized and default values. |
static String[] |
getFilesToOpen()
|
static File |
getPropertiesFile()
Returns the properties file used by the configuration object. |
static boolean |
getShowDebugConsole()
|
static void |
main(String[] args)
Starts running DrJava. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final File DEFAULT_PROPERTIES_FILE
Constructor Detail |
---|
public DrJava()
Method Detail |
---|
public static File getPropertiesFile()
public static FileConfiguration getConfig()
public static String[] getFilesToOpen()
public static boolean getShowDebugConsole()
public static void main(String[] args)
args
- Command line argument arraypublic static void configureAndLoadDrJavaRoot(String[] args)
protected static void _saveConfig()
public static void cleanUp()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |