Cytoscape 3.1.1 API

org.cytoscape.task.read
Interface LoadTableFileTaskFactory

All Superinterfaces:
TaskFactory

public interface LoadTableFileTaskFactory
extends TaskFactory

This interface provides a task iterator for importing the attribute file to one of network tables(Node,Edge or Network Table).


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(File file)
          Creates the task iterator for importing an attribute file to a table.
 
Methods inherited from interface org.cytoscape.work.TaskFactory
createTaskIterator, isReady
 

Method Detail

createTaskIterator

TaskIterator createTaskIterator(File file)
Creates the task iterator for importing an attribute file to a table. The created task runs synchronously in the current thread and does not create a task monitor.

Parameters:
file - The attribute file to be imported into one of network tables(Node,Edge or Network Table).
Returns:
a task iterator of type TaskIterator.

Cytoscape 3.1.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.