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 aggregatesCyWriterFactoryservices for specific DataCategories and provides a mechanism for choosing theCyWriterFactorygiven a particular file type.Module:
io-apiTo 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 availableCyFileFilters that define the available output types.WgetMatchingFactory(CyFileFilter filter)Returns aCyWriterFactoryfor the appropriate filter.
-
-
-
Method Detail
-
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
W getMatchingFactory(CyFileFilter filter)
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.
-
-