Package org.cytoscape.io.write
Interface PresentationWriterFactory
- All Superinterfaces:
CyFileFilterProvider,CyWriterFactory
A specialization of
CyWriterFactory that allows a View
rendered by the specified RenderingEngine 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:
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>io-api</artifactId>
</dependency>-
Method Summary
Modifier and TypeMethodDescriptioncreateWriter(OutputStream os, RenderingEngine<?> re) Creates a single Task that will write the contents of the specifiedRenderingEngineobject to the specified OutputStream.Methods inherited from interface org.cytoscape.io.CyFileFilterProvider
getFileFilter
-
Method Details
-
createWriter
Creates a single Task that will write the contents of the specifiedRenderingEngineobject to the specified OutputStream.- Parameters:
os- The stream to which the data will be written.re- TheRenderingEngineused to generate the image of the View it contains.
-