Cytoscape 3.1.1 API

org.cytoscape.task.write
Interface ExportNetworkTaskFactory

All Superinterfaces:
NetworkTaskFactory

public interface ExportNetworkTaskFactory
extends NetworkTaskFactory

This interface provides a task iterator for exporting network views.


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.

Module: core-task-api

To use this in your app, include the following dependency in your POM:

<dependency>
    <groupId>org.cytoscape</groupId>
    <artifactId>core-task-api</artifactId>
</dependency>

Method Summary
 TaskIterator createTaskIterator(CyNetwork network, File file)
          Creates the task iterator for exporting networks.
 
Methods inherited from interface org.cytoscape.task.NetworkTaskFactory
createTaskIterator, isReady
 

Method Detail

createTaskIterator

TaskIterator createTaskIterator(CyNetwork network,
                                File file)
Creates the task iterator for exporting networks. Notice that this task will be synced with the current thread and it will not create a new thread or a new task monitor.

Parameters:
network - Selected network for export.
file - The file to store the exported network.
Returns:
Task iterator for running the task.

Cytoscape 3.1.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.