public interface CyPropertyWriterManager extends CyWriterManager<CyPropertyWriterFactory>
CyWriterManager specific to writing property objects. See
CyProperty for information on types of object expected.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>| Modifier and Type | Method and Description |
|---|---|
List<CyFileFilter> |
getAvailableWriterFilters()
Returns the
CyFileFilters known to this CyWriter manager. |
CyWriter |
getWriter(Object property,
CyFileFilter filter,
File file)
Returns the
CyWriter Task that will attempt to write the specified property
object to the specified file of the specified file type. |
CyWriter |
getWriter(Object property,
CyFileFilter filter,
OutputStream os)
Returns the
CyWriter Task that will attempt to write the specified property
object to the specified output stream of the specified file type. |
getMatchingFactoryList<CyFileFilter> getAvailableWriterFilters()
CyFileFilters known to this CyWriter manager.getAvailableWriterFilters in interface CyWriterManager<CyPropertyWriterFactory>CyWriter getWriter(Object property, CyFileFilter filter, File file) throws Exception
CyWriter Task that will attempt to write the specified property
object to the specified file of the specified file type.property - The property object to be written.filter - The CyFileFilter that defines the type of file to be written.file - The file to be written.CyWriter Task that will attempt to write the specified property
object to the specified file of the specified file type.ExceptionCyWriter getWriter(Object property, CyFileFilter filter, OutputStream os) throws Exception
CyWriter Task that will attempt to write the specified property
object to the specified output stream of the specified file type.property - The property object to be written.filter - The CyFileFilter that defines the type of file to be written.os - The output stream to be written.CyWriter Task that will attempt to write the specified property
object to the specified output stream of the specified file type.ExceptionCopyright 2011 Cytoscape Consortium. All rights reserved.