Cytoscape 3.0.1 API

org.cytoscape.io.write
Interface CyNetworkViewWriterManager

All Superinterfaces:
CyWriterManager<CyNetworkViewWriterFactory>

public interface CyNetworkViewWriterManager
extends CyWriterManager<CyNetworkViewWriterFactory>

A CyWriterManager specific to writing CyNetworkView objects.


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
 CyWriter getWriter(CyNetwork network, CyFileFilter filter, File file)
          Returns the CyWriter Task that will attempt to write the specified network to the specified file of the specified file type.
 CyWriter getWriter(CyNetwork network, CyFileFilter filter, OutputStream os)
          Returns the CyWriter Task that will attempt to write the specified network to the specified output steam of the specified file type.
 CyWriter getWriter(CyNetworkView view, CyFileFilter filter, File file)
          Returns the CyWriter Task that will attempt to write the specified view to the specified file of the specified file type.
 CyWriter getWriter(CyNetworkView view, CyFileFilter filter, OutputStream os)
          Returns the CyWriter 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 Detail

getWriter

CyWriter getWriter(CyNetwork network,
                   CyFileFilter filter,
                   File file)
                   throws Exception
Returns the CyWriter Task that will attempt to write the specified network to the specified file of the specified file type.

Parameters:
network - The CyNetwork to be written.
filter - The CyFileFilter 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

CyWriter getWriter(CyNetwork network,
                   CyFileFilter filter,
                   OutputStream os)
                   throws Exception
Returns the CyWriter Task that will attempt to write the specified network to the specified output steam of the specified file type.

Parameters:
network - The CyNetwork to be written.
filter - The CyFileFilter 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

CyWriter getWriter(CyNetworkView view,
                   CyFileFilter filter,
                   File file)
                   throws Exception
Returns the CyWriter Task that will attempt to write the specified view to the specified file of the specified file type.

Parameters:
view - The CyNetworkView to be written.
filter - The CyFileFilter 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

CyWriter getWriter(CyNetworkView view,
                   CyFileFilter filter,
                   OutputStream os)
                   throws Exception
Returns the CyWriter Task that will attempt to write the specified view to the specified output steam of the specified file type.

Parameters:
view - The CyNetworkView to be written.
filter - The CyFileFilter 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

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.