public interface CyNetworkViewWriterFactory extends CyWriterFactory
CyWriterFactory that allows a
CyNetworkView or CyNetwork to be specified
and written to an OutputStream.Module: io-api
To use this in your app, include the following dependency in your POM:
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>io-api</artifactId>
</dependency>| Modifier and Type | Method and Description |
|---|---|
CyWriter |
createWriter(OutputStream os,
CyNetwork network)
Creates a single Task that will write the specified network to the
specified OutputStream.
|
CyWriter |
createWriter(OutputStream os,
CyNetworkView view)
Creates a single Task that will write the specified network to the
specified OutputStream.
|
getFileFilterCyWriter createWriter(OutputStream os, CyNetworkView view)
os - The stream to write to.view - The CyNetworkView to be written.CyWriter createWriter(OutputStream os, CyNetwork network)
os - The stream to write to.network - The CyNetwork to be written.Copyright 2011 Cytoscape Consortium. All rights reserved.