|
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.data.writers.InteractionWriter
public class InteractionWriter
A few utility methods to assist in writing SIF files.
Constructor Summary | |
---|---|
InteractionWriter()
|
Method Summary | |
---|---|
static String |
getInteractionString(CyNetwork network)
Returns a SIF formatted string of the specified network. |
static String |
getInteractionString(CyNetwork network,
TaskMonitor taskMonitor)
Returns a SIF formatted string of the specified network. |
static void |
writeInteractions(CyNetwork network,
Writer writer)
Writes a SIF formatted string of the specified network to the specified writer. |
static void |
writeInteractions(CyNetwork network,
Writer writer,
TaskMonitor taskMonitor)
Writes a SIF formatted string of the specified network to the specified writer. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InteractionWriter()
Method Detail |
---|
public static void writeInteractions(CyNetwork network, Writer writer, TaskMonitor taskMonitor) throws IOException
network
- The network to be written.writer
- The writer the network should be written to.taskMonitor
- An optional task monitor.
IOException
public static void writeInteractions(CyNetwork network, Writer writer) throws IOException
network
- The network to be written.writer
- The writer the network should be written to.
IOException
public static String getInteractionString(CyNetwork network)
network
- The network to be formatted as a SIF string.
public static String getInteractionString(CyNetwork network, TaskMonitor taskMonitor)
network
- The network to be formatted as a SIF string.taskMonitor
- An optional taskMonitor in case you want to
use one. Use null otherwise.
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |