Interface CyWriterManager<W extends CyWriterFactory>

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

public interface CyWriterManager<W extends CyWriterFactory>
A CyWriterManager aggregates CyWriterFactory services for specific DataCategories and provides a mechanism for choosing the CyWriterFactory given a particular file type.

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 Details

    • 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

      W getMatchingFactory(CyFileFilter filter)
      Returns a CyWriterFactory for the appropriate filter.
      Parameters:
      filter - The filter used to determine the type of file written. generated by the CyWriterFactory.
      Returns:
      A CyWriterFactory for the appropriate filter.