Interface ExportNetworkTaskFactory

  • All Superinterfaces:
    NetworkTaskFactory

    public interface ExportNetworkTaskFactory
    extends NetworkTaskFactory
    This interface provides a task iterator for exporting network views.

    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>

    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 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.