public interface CyNetworkReader extends Task
CyNetwork
objects that are read as part
of the Task. An additional method provides an option for readers
to create CyNetworkView
s from the networks it has read as
well. Instances of this interface are created by
InputStreamTaskFactory objects registered as OSGi services, which are in turn
processed by associated reader manager objects that distinguish
InputStreamTaskFactories based on the DataCategory associated with the
CyFileFilter
.Module: io-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>io-api</artifactId> </dependency>
Modifier and Type | Method and Description |
---|---|
CyNetworkView |
buildCyNetworkView(CyNetwork network)
A method to build a
CyNetworkView from one of the networks just read. |
CyNetwork[] |
getNetworks()
Returns an array of networks read after executing the run() method of
Task . |
CyNetwork[] getNetworks()
Task
.Task
.CyNetworkView buildCyNetworkView(CyNetwork network)
CyNetworkView
from one of the networks just read.network
- A network just read by the task and part of the getCyNetworks() array.CyNetworkView
created by the reader for the network specified.Copyright 2011-2015 Cytoscape Consortium. All rights reserved.