Package org.cy3sbml.reader
Class FailedReaderTask
java.lang.Object
org.cytoscape.work.AbstractTask
org.cy3sbml.reader.FailedReaderTask
- All Implemented Interfaces:
org.cytoscape.io.read.CyNetworkReader,org.cytoscape.work.Task
public final class FailedReaderTask
extends org.cytoscape.work.AbstractTask
implements org.cytoscape.io.read.CyNetworkReader
The reader of an input that could not be read before the reader was created, e.g. a
URL whose connection dropped: running it reports the error, as the reader of a broken
file does. Cytoscape's reader manager takes the first task of the task iterator of a
reader factory as the reader, so a factory cannot return no reader.
-
Field Summary
Fields inherited from class org.cytoscape.work.AbstractTask
cancelled -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.cytoscape.view.model.CyNetworkViewbuildCyNetworkView(org.cytoscape.model.CyNetwork network) org.cytoscape.model.CyNetwork[]voidrun(org.cytoscape.work.TaskMonitor taskMonitor) Methods inherited from class org.cytoscape.work.AbstractTask
cancel, getTaskIterator, insertTasksAfterCurrentTask, insertTasksAfterCurrentTask, setTaskIteratorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cytoscape.work.Task
cancel
-
Constructor Details
-
FailedReaderTask
-
-
Method Details
-
run
public void run(org.cytoscape.work.TaskMonitor taskMonitor) - Specified by:
runin interfaceorg.cytoscape.work.Task- Specified by:
runin classorg.cytoscape.work.AbstractTask
-
getNetworks
public org.cytoscape.model.CyNetwork[] getNetworks()- Specified by:
getNetworksin interfaceorg.cytoscape.io.read.CyNetworkReader
-
buildCyNetworkView
public org.cytoscape.view.model.CyNetworkView buildCyNetworkView(org.cytoscape.model.CyNetwork network) - Specified by:
buildCyNetworkViewin interfaceorg.cytoscape.io.read.CyNetworkReader
-