Package org.cytoscape.io.write
Interface VizmapWriterFactory
-
- All Superinterfaces:
CyFileFilterProvider
,CyWriterFactory
public interface VizmapWriterFactory extends CyWriterFactory
A specialization ofCyWriterFactory
that allows aVisualStyle
to be specified and written.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 (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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CyWriter
createWriter(OutputStream os, Set<VisualStyle> styles)
Creates a single Task that will write the specified set ofVisualStyle
objects to the specified OutputStream.-
Methods inherited from interface org.cytoscape.io.CyFileFilterProvider
getFileFilter
-
-
-
-
Method Detail
-
createWriter
CyWriter createWriter(OutputStream os, Set<VisualStyle> styles)
Creates a single Task that will write the specified set ofVisualStyle
objects to the specified OutputStream.- Parameters:
os
- The stream to which the data will be written.styles
- A list ofVisualStyle
objects to be written.
-
-