Package org.cytoscape.task.read
Interface LoadNetworkURLTaskFactory
-
- All Superinterfaces:
TaskFactory
public interface LoadNetworkURLTaskFactory extends TaskFactory
This interface provides a task iterator for loading a URL into a network.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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaskIterator
createTaskIterator(URL url, TaskObserver observer)
Creates a task iterator for loading a URL into a network.TaskIterator
loadCyNetworks(URL url)
Creates a task iterator for loading a URL into a network.-
Methods inherited from interface org.cytoscape.work.TaskFactory
createTaskIterator, isReady
-
-
-
-
Method Detail
-
loadCyNetworks
TaskIterator loadCyNetworks(URL url)
Creates a task iterator for loading a URL into a network. The created task runs synchronously in the current thread and does not create a task monitor.- Parameters:
url
- the URL for loading into the network.- Returns:
- a task iterator of type
TaskIterator
.
-
createTaskIterator
TaskIterator createTaskIterator(URL url, TaskObserver observer)
Creates a task iterator for loading a URL into a network. The created task runs synchronously in the current thread and does not create a task monitor.- Parameters:
url
- the URL for loading into the network.observer
- a TaskObserver that wants to know when we're done- Returns:
- a task iterator of type
TaskIterator
.
-
-