Cytoscape 3.0.0-alpha8-SNAPSHOT API

org.cytoscape.io.write
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.

Method Summary
 void setSession(CySession session)
          Specifies the CySession to be written by the CyWriter Task generated by this factory.
 
Methods inherited from interface org.cytoscape.io.write.CyWriterFactory
getWriterTask, setOutputStream
 
Methods inherited from interface org.cytoscape.io.CyFileFilterProvider
getFileFilter
 

Method Detail

setSession

void setSession(CySession session)
Specifies the CySession to be written by the CyWriter Task generated by this factory. This method must be called prior to calling the getWriter() method.

Parameters:
session - The CySession to be written.

Cytoscape 3.0.0-alpha8-SNAPSHOT API

Copyright 2011 Cytoscape Consortium. All rights reserved.