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 aggregatesCyWriterFactory
services for specific DataCategories and provides a mechanism for choosing theCyWriterFactory
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<CyFileFilter>
getAvailableWriterFilters()
Returns a list of the availableCyFileFilter
s that define the available output types.W
getMatchingFactory(CyFileFilter filter)
Returns aCyWriterFactory
for the appropriate filter.
-
-
-
Method Detail
-
getAvailableWriterFilters
List<CyFileFilter> getAvailableWriterFilters()
Returns a list of the availableCyFileFilter
s that define the available output types.- Returns:
- A list of the available
CyFileFilter
s that define the available output types.
-
getMatchingFactory
W getMatchingFactory(CyFileFilter filter)
Returns aCyWriterFactory
for the appropriate filter.- Parameters:
filter
- The filter used to determine the type of file written. generated by theCyWriterFactory
.- Returns:
- A
CyWriterFactory
for the appropriate filter.
-
-