Package org.cytoscape.io.write
Interface CyNetworkViewWriterFactory
-
- All Superinterfaces:
CyFileFilterProvider,CyWriterFactory
public interface CyNetworkViewWriterFactory extends CyWriterFactory
A specialization ofCyWriterFactorythat allows aCyNetworkVieworCyNetworkto be specified and written to an OutputStream.Module:
io-apiTo use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>io-api</artifactId> </dependency>
Cytoscape Backwards Compatibility (SPI Interface): We expect that this interface will be implemented. Therefore to maintain backwards compatibility this interface will only be modified for major version updates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CyWritercreateWriter(OutputStream os, CyNetwork network)Creates a single Task that will write the specified network to the specified OutputStream.CyWritercreateWriter(OutputStream os, CyNetworkView view)Creates a single Task that will write the specified network to the specified OutputStream.-
Methods inherited from interface org.cytoscape.io.CyFileFilterProvider
getFileFilter
-
-
-
-
Method Detail
-
createWriter
CyWriter createWriter(OutputStream os, CyNetworkView view)
Creates a single Task that will write the specified network to the specified OutputStream.- Parameters:
os- The stream to write to.view- TheCyNetworkViewto be written.
-
createWriter
CyWriter createWriter(OutputStream os, CyNetwork network)
Creates a single Task that will write the specified network to the specified OutputStream.- Parameters:
os- The stream to write to.network- TheCyNetworkto be written.
-
-