Cytoscape 3.0.0-alpha8-SNAPSHOT API

org.cytoscape.io.write
Interface CyWriterManager

All Known Subinterfaces:
CyNetworkViewWriterManager, CyPropertyWriterManager, CySessionWriterManager, CyTableWriterManager, PresentationWriterManager, VizmapWriterManager

public interface CyWriterManager

A CyWriterManager aggregates CyWriterFactory services for specific DataCategories and provides a mechanism for choosing the CyWriterFactory given a particular file type.


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
 List<CyFileFilter> getAvailableWriterFilters()
          Returns a list of the available CyFileFilters that define the available output types.
 CyWriterFactory getMatchingFactory(CyFileFilter filter, OutputStream os)
          Returns a CyWriterFactory for the appropriate filter.
 

Method Detail

getAvailableWriterFilters

List<CyFileFilter> getAvailableWriterFilters()
Returns a list of the available CyFileFilters that define the available output types.

Returns:
A list of the available CyFileFilters that define the available output types.

getMatchingFactory

CyWriterFactory getMatchingFactory(CyFileFilter filter,
                                   OutputStream os)
Returns a CyWriterFactory for the appropriate filter.

Parameters:
filter - The filter used to determine the type of file written.
os - The OutputStream that will be written to by the CyWriter generated by the CyWriterFactory.
Returns:
A CyWriterFactory for the appropriate filter.

Cytoscape 3.0.0-alpha8-SNAPSHOT API

Copyright 2011 Cytoscape Consortium. All rights reserved.