Cytoscape 2.8.2 API

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.
Session note can be anything, it is just like a memo pad for the session.
 void writeSessionToDisk()
          Write current session to a local .cys file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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.

Cytoscape 2.8.2 API

Copyright 2010 Cytoscape Consortium. All rights reserved.