public interface LoadVizmapFileTaskFactory 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 files into visual styles.
|
TaskIterator |
createTaskIterator(File file,
TaskObserver observer)
Creates a task iterator for loading files into visual styles.
|
Set<VisualStyle> |
loadStyles(File f)
Return a set of VisualStyle objects read from the specified file.
|
Set<VisualStyle> |
loadStyles(InputStream is)
Return a set of VisualStyle objects read from the specified file.
|
createTaskIterator, isReady
Set<VisualStyle> loadStyles(File f)
f
- The file containing visual styles to be read.Set<VisualStyle> loadStyles(InputStream is)
is
- The inputStream containing visual styles to be read.TaskIterator createTaskIterator(File file)
file
- The file containing visual styles to be read.TaskIterator
.TaskIterator createTaskIterator(File file, TaskObserver observer)
file
- The file containing visual styles to be read.observer
- A TaskObserver that wants to know when we're doneTaskIterator
.Copyright 2011-2015 Cytoscape Consortium. All rights reserved.