cytoscape.data.writers
Class CytoscapeSessionWriter
java.lang.Object
cytoscape.data.writers.CytoscapeSessionWriter
public class CytoscapeSessionWriter
- extends Object
Write session states into files.
Basic functions of this class are:
- 1. Create network files
- 2. Create session state file
- 3. Get properties file locations
- 4. Zip them into one session file "*.cys"
- Since:
- 2.3
- Version:
- 1.0
- Author:
- kono
- See Also:
XGMMLReader
Field Summary |
static int |
EDGE
|
static int |
NODE
|
NODE
public static final int NODE
- See Also:
- Constant Field Values
EDGE
public static final int EDGE
- See Also:
- Constant Field Values
CytoscapeSessionWriter
public CytoscapeSessionWriter(String sessionName)
- Constructor.
- Parameters:
sessionName
- Filename of the session.
writeSessionToDisk
public void writeSessionToDisk()
throws Exception
- Write current session to a local .cys file.
- Throws:
Exception
setSessionNote
public void setSessionNote(String note)
- Set session note.
Session note can be anything, it is just like a memo pad for the session.
NOTE: session note should be set before calling writeSessionToDisk().
- Parameters:
note
- Session note string.