Interface CySessionWriterFactory

All Superinterfaces:
CyFileFilterProvider, CyWriterFactory

public interface CySessionWriterFactory extends CyWriterFactory
A specialization of CyWriterFactory that allows a CySession to be specified and written.

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.

Module: io-api

To use this in your app, include the following dependency in your POM:

  • Method Details

    • createWriter

      CyWriter createWriter(OutputStream os, CySession session)
      Creates a single Task that will write the specified CySession object to the specified OutputStream.
      os - The stream to which the data will be written.
      session - The CySession to be written.