Package org.cytoscape.io.write
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 Summary
Modifier and TypeMethodDescriptionReturns a list of the availableCyFileFilters that define the available output types.getMatchingFactory(CyFileFilter filter) Returns aCyWriterFactoryfor the appropriate filter.
-
Method Details
-
getAvailableWriterFilters
List<CyFileFilter> getAvailableWriterFilters()Returns a list of the availableCyFileFilters that define the available output types.- Returns:
- A list of the available
CyFileFilters that define the available output types.
-
getMatchingFactory
Returns aCyWriterFactoryfor the appropriate filter.- Parameters:
filter- The filter used to determine the type of file written. generated by theCyWriterFactory.- Returns:
- A
CyWriterFactoryfor the appropriate filter.
-