Package org.cytoscape.io.write
Interface CyNetworkViewWriterManager
- All Superinterfaces:
CyWriterManager<CyNetworkViewWriterFactory>
A
CyWriterManager
specific to writing
CyNetworkView
objects.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>
Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.
-
Method Summary
Modifier and TypeMethodDescriptiongetWriter
(CyNetwork network, CyFileFilter filter, File file) Returns theCyWriter
Task that will attempt to write the specified network to the specified file of the specified file type.getWriter
(CyNetwork network, CyFileFilter filter, OutputStream os) Returns theCyWriter
Task that will attempt to write the specified network to the specified output steam of the specified file type.getWriter
(CyNetworkView view, CyFileFilter filter, File file) Returns theCyWriter
Task that will attempt to write the specified view to the specified file of the specified file type.getWriter
(CyNetworkView view, CyFileFilter filter, OutputStream os) Returns theCyWriter
Task that will attempt to write the specified view to the specified output steam of the specified file type.Methods inherited from interface org.cytoscape.io.write.CyWriterManager
getAvailableWriterFilters, getMatchingFactory
-
Method Details
-
getWriter
Returns theCyWriter
Task that will attempt to write the specified network to the specified file of the specified file type.- Parameters:
network
- TheCyNetwork
to be written.filter
- TheCyFileFilter
that defines the type of file to be written.file
- The file to be written.- Returns:
- The
CyWriter
Task that will attempt to write the specified network to the specified file of the specified file type. - Throws:
Exception
-
getWriter
Returns theCyWriter
Task that will attempt to write the specified network to the specified output steam of the specified file type.- Parameters:
network
- TheCyNetwork
to be written.filter
- TheCyFileFilter
that defines the type of file to be written.os
- The output steam to be written.- Returns:
- The
CyWriter
Task that will attempt to write the specified network to the specified output steam of the specified file type. - Throws:
Exception
-
getWriter
Returns theCyWriter
Task that will attempt to write the specified view to the specified file of the specified file type.- Parameters:
view
- TheCyNetworkView
to be written.filter
- TheCyFileFilter
that defines the type of file to be written.file
- The file to be written.- Returns:
- The
CyWriter
Task that will attempt to write the specified view to the specified file of the specified file type. - Throws:
Exception
-
getWriter
Returns theCyWriter
Task that will attempt to write the specified view to the specified output steam of the specified file type.- Parameters:
view
- TheCyNetworkView
to be written.filter
- TheCyFileFilter
that defines the type of file to be written.os
- The output steam to be written.- Returns:
- The
CyWriter
Task that will attempt to write the specified view to the specified output steam of the specified file type. - Throws:
Exception
-