|
Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.CytoscapeInit
public class CytoscapeInit
Cytoscape Init is responsible for starting Cytoscape in a way that makes sense.
The comments below are more hopeful than accurate. We currently do not support a "headless" mode (meaning there is no GUI). We do, however, hope to support this in the future.
The two main modes of running Cytoscape are either in "headless" mode or in "script" mode. This class will use the command-line options to figure out which mode is desired, and run things accordingly.
The order for doing things will be the following:
Constructor Summary | |
---|---|
CytoscapeInit()
Creates a new CytoscapeInit object. |
Method Summary | |
---|---|
static File |
getConfigDirectory()
If .cytoscape directory does not exist, it creates it and returns it |
static File |
getConfigFile(String file_name)
DOCUMENT ME! |
static File |
getConfigVersionDirectory()
Within the .cytoscape directory create a version-specific directory |
static CyInitParams |
getCyInitParams()
Returns the CyInitParams object used to initialize Cytoscape. |
static File |
getMRUD()
|
static File |
getMRUF()
|
static Properties |
getProperties()
Returns the properties used by Cytoscape, the result of cytoscape.props and command line options. |
static Properties |
getVisualProperties()
DOCUMENT ME! |
boolean |
init(CyInitParams params)
Cytoscape Init must be initialized using the command line arguments. |
static void |
setMRUD(File mrud_new)
|
static void |
setMRUF(File mruf_new)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CytoscapeInit()
Method Detail |
---|
public boolean init(CyInitParams params)
args
- the arguments from the command line
public static CyInitParams getCyInitParams()
public static Properties getProperties()
public static File getMRUD()
public static File getMRUF()
public static void setMRUD(File mrud_new)
mrud
- the most recently used directorypublic static void setMRUF(File mruf_new)
mruf
- the most recently used filepublic static File getConfigVersionDirectory()
public static File getConfigDirectory()
public static File getConfigFile(String file_name)
file_name
- DOCUMENT ME!
public static Properties getVisualProperties()
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |