Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.data.writers
Class CytoscapeSessionWriter

java.lang.Object
  extended by cytoscape.data.writers.CytoscapeSessionWriter

public class CytoscapeSessionWriter
extends Object

Write session states into files.
Basic functions of this class are:

Since:
2.3
Version:
1.0
Author:
kono
See Also:
XGMMLReader

Field Summary
static int EDGE
           
static int NODE
           
 
Constructor Summary
CytoscapeSessionWriter(String sessionName)
          Constructor.
 
Method Summary
 void setSessionNote(String note)
          Set session note.
 void writeSessionToDisk()
          Write current session to a local .cys file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NODE

public static final int NODE
See Also:
Constant Field Values

EDGE

public static final int EDGE
See Also:
Constant Field Values
Constructor Detail

CytoscapeSessionWriter

public CytoscapeSessionWriter(String sessionName)
Constructor.

Parameters:
sessionName - Filename of the session.
Method Detail

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.

www.cytoscape.org