public interface OpenSessionTaskFactory extends TaskFactory
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>| Modifier and Type | Method and Description |
|---|---|
TaskIterator |
createTaskIterator(File file)
Creates a task iterator for loading a session from a file.
|
TaskIterator |
createTaskIterator(File file,
boolean confirm)
Creates a task iterator for loading a session from a file, with an option to let the user confirm it
before disposing the current session if it is not empty.
|
createTaskIterator, isReadyTaskIterator createTaskIterator(File file)
createTaskIterator(file, false).file - The input file for loading the session from.TaskIterator.TaskIterator createTaskIterator(File file, boolean confirm)
file - The input file for loading the session from.confirm - Whether or not Cytoscape should ask the user to confirm this action.TaskIterator.Copyright 2011-2015 Cytoscape Consortium. All rights reserved.